From: Stefan Huber Date: Sun, 26 Dec 2021 10:21:27 +0000 (+0100) Subject: plugins: Load polyglot also for nvim X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=7fc336a3e8abd91dfc7b01bf3acd7d5dfe32af4a;p=vimconf.git plugins: Load polyglot also for nvim --- diff --git a/plugins-noroot-nolowendbox.vim b/plugins-noroot-nolowendbox.vim index f802c9c..38dbb94 100644 --- a/plugins-noroot-nolowendbox.vim +++ b/plugins-noroot-nolowendbox.vim @@ -48,14 +48,13 @@ Plug 'sjl/splice.vim', {'on': 'SpliceInit'} " Costs a second startup time Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'} +Plug 'sheerun/vim-polyglot' + if has('nvim-0.5') Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'} -else - Plug 'sheerun/vim-polyglot' endif - function PluginsNorootNolowendboxConfig() let g:neomake_c_enabled_makers = ['clangtidy', 'clangcheck'] let g:neomake_cpp_enabled_makers = ['clangtidy', 'clangcheck']