Remove nvim section

This commit is contained in:
Anthony Rose 2022-12-05 22:22:12 +00:00
parent 17e3fe8a76
commit b347675644

17
vimrc
View file

@ -207,23 +207,6 @@ if has('wildmenu')
set wildmenu set wildmenu
endif endif
if has('nvim')
" Neovim config.
packadd! nvim-lspconfig
lua << __EOF__
local servers = { 'clangd', 'gopls', 'rls' }
for _, lsp in ipairs(servers) do
require('lspconfig')[lsp].setup {
on_attach = on_attach,
flags = {
debounce_text_changes = 150,
}
}
end
__EOF__
autocmd BufRead,BufNewFile * set omnifunc=v:lua.vim.lsp.omnifunc
endif
" Customise colour schemes. Keep this near the end. " Customise colour schemes. Keep this near the end.
if &background ==# 'light' if &background ==# 'light'
highlight SpecialKey ctermfg=lightgray ctermbg=NONE highlight SpecialKey ctermfg=lightgray ctermbg=NONE