Try to disable neovim plugins on old installations
This commit is contained in:
parent
8f7b9c363f
commit
3bcdee18a4
@ -27,11 +27,14 @@ if !exists('g:vscode')
|
||||
autocmd BufWritePost * GitGutter
|
||||
endif
|
||||
|
||||
" Enable Leap
|
||||
lua require('leap').add_default_mappings()
|
||||
" Don't bother loading plugins if we are on a really old NeoVim installation
|
||||
if has('nvim-0.5')
|
||||
" Enable Leap
|
||||
lua require('leap').add_default_mappings()
|
||||
|
||||
" Enable trailing space detection
|
||||
lua require('mini.trailspace').setup()
|
||||
" Enable trailing space detection
|
||||
lua require('mini.trailspace').setup()
|
||||
endif
|
||||
|
||||
" Configure floating window colours
|
||||
highlight Pmenu ctermbg=none ctermfg=white
|
||||
|
Loading…
x
Reference in New Issue
Block a user