From b34767564422ba15a25ad8594a4130124775867b Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 5 Dec 2022 22:22:12 +0000 Subject: [PATCH] Remove nvim section --- vimrc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/vimrc b/vimrc index c0c1509..97ab365 100644 --- a/vimrc +++ b/vimrc @@ -207,23 +207,6 @@ if has('wildmenu') set wildmenu 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. if &background ==# 'light' highlight SpecialKey ctermfg=lightgray ctermbg=NONE