diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f3a2e31..b2ad1b7 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -6,7 +6,6 @@ Plug '~/src/github.com/shelmangroup/nvim-shelman-theme' Plug 'neovim/nvim-lspconfig' Plug 'nvim-lua/completion-nvim' -Plug 'nvim-lua/diagnostic-nvim' Plug 'nvim-treesitter/nvim-treesitter' Plug 'steelsojka/completion-buffers' @@ -215,6 +214,8 @@ map / :Ag map m :Marks "" Key bindings +cnorea wd w\|:bd + nmap :set invnumber imap  @@ -315,11 +316,9 @@ nnoremap gd lua vim.lsp.buf.declaration() :lua << END require'lspconfig'.gopls.setup{ - on_attach=require'diagnostic'.on_attach } require'lspconfig'.jdtls.setup{ - on_attach=require'diagnostic'.on_attach } require'lspconfig'.sumneko_lua.setup{ @@ -327,16 +326,13 @@ require'lspconfig'.sumneko_lua.setup{ } require'lspconfig'.terraformls.setup{ - on_attach=require'diagnostic'.on_attach, cmd = {'terraform-ls', 'serve'} } require'lspconfig'.vimls.setup{ - on_attach=require'diagnostic'.on_attach } require'lspconfig'.yamlls.setup{ - on_attach=require'diagnostic'.on_attach } END