diff --git a/home/vimrc.lua b/home/vimrc.lua index c8e8236..7d30dfc 100644 --- a/home/vimrc.lua +++ b/home/vimrc.lua @@ -184,7 +184,7 @@ cmp.setup({ } }) -local servers = { 'pyright', 'rust_analyzer', 'ccls', 'lua_ls', 'nixd', 'texlab', 'verible' } +local servers = { 'pyright', 'rust_analyzer', 'ccls', 'nixd', 'texlab' } local capabilities = require('cmp_nvim_lsp').default_capabilities() for _, lsp in pairs(servers) do require('lspconfig')[lsp].setup { @@ -193,6 +193,7 @@ for _, lsp in pairs(servers) do end require('lspconfig').lua_ls.setup({ + capabilities = capabilities, single_file_support = true, settings = { Lua = { @@ -209,11 +210,15 @@ require('lspconfig').lua_ls.setup({ [vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true, }, }, + telemetry = { + enable = false, + }, }, }, }) require('lspconfig').verible.setup({ + capabilities = capabilities, root_dir = function() return vim.loop.cwd() end })