diff --git a/roles/neovim/files/lua/lsp/lua.lua b/roles/neovim/files/lua/lsp/lua.lua index 21f06b6..6944a8b 100644 --- a/roles/neovim/files/lua/lsp/lua.lua +++ b/roles/neovim/files/lua/lsp/lua.lua @@ -12,7 +12,8 @@ require'lspconfig'.sumneko_lua.setup { }, diagnostics = { -- Get the language server to recognize the `vim` global - globals = {'vim'}, + globals = { 'vim' }, + disable = { 'lowercase-global' }, }, workspace = { -- Make the server aware of Neovim runtime files diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index b29e216..3a95785 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -18,10 +18,16 @@ return require('packer').startup(function(use) run = function() require('nvim-treesitter.install').update({ with_sync = true }) end, } - -- COLOR SCHEMES + -- Color schemes use 'morhetz/gruvbox' use 'sjl/badwolf' + -- Auto close parens and such + use 'Townk/vim-autoclose' + + -- Surround + use 'tpope/vim-surround' + -- NERDTree use 'preservim/nerdtree' use 'Xuyuanp/nerdtree-git-plugin' -- A NERDTree plugin showing git status