[nvim] Don't install Treesitter on Windows
This commit is contained in:
parent
2be37d4c4b
commit
66dfa9d0dc
|
@ -22,9 +22,11 @@ let s:plug = funcref('dotfiles#plugman#register')
|
||||||
call s:plug('alaviss/nim.nvim')
|
call s:plug('alaviss/nim.nvim')
|
||||||
call s:plug('stevearc/vim-arduino')
|
call s:plug('stevearc/vim-arduino')
|
||||||
call s:plug('xiyaowong/coc-nvim-lua')
|
call s:plug('xiyaowong/coc-nvim-lua')
|
||||||
call s:plug('nvim-neorg/neorg', { 'branch': 'unstable' }) " dependencies {{{
|
if has('unix')
|
||||||
call s:plug('nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' })
|
call s:plug('nvim-neorg/neorg', { 'branch': 'unstable' }) " dependencies {{{
|
||||||
" }}}
|
call s:plug('nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' })
|
||||||
|
" }}}
|
||||||
|
endif
|
||||||
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
call s:plug('noahfrederick/vim-laravel') " dependencies {{{
|
||||||
call s:plug('noahfrederick/vim-composer')
|
call s:plug('noahfrederick/vim-composer')
|
||||||
call s:plug('tpope/vim-projectionist')
|
call s:plug('tpope/vim-projectionist')
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
local neorg = require('neorg')
|
local ok, neorg = pcall(require, 'neorg')
|
||||||
|
if not ok then return end;
|
||||||
|
|
||||||
local ok, cmp = pcall(require, 'cmp')
|
local ok, cmp = pcall(require, 'cmp')
|
||||||
if not ok then return end;
|
if not ok then return end;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()
|
local ok, parser_configs = pcall(require, 'nvim-treesitter.parsers')
|
||||||
|
if not ok then return end
|
||||||
|
|
||||||
|
local parser_configs = parser_configs.get_parser_configs()
|
||||||
|
|
||||||
parser_configs.norg = {
|
parser_configs.norg = {
|
||||||
install_info = {
|
install_info = {
|
||||||
|
|
Loading…
Reference in New Issue