disable telemetry sumneko_lua

This commit is contained in:
siduck76 2021-04-18 11:43:10 +05:30
parent 92591015e5
commit 88e5556595
1 changed files with 7 additions and 1 deletions

View File

@ -58,6 +58,9 @@ local sumneko_binary = USER .. "/.config/lua-language-server/bin/Linux/lua-langu
require "lspconfig".sumneko_lua.setup {
cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
root_dir = function()
return vim.loop.cwd()
end,
settings = {
Lua = {
runtime = {
@ -69,7 +72,10 @@ require "lspconfig".sumneko_lua.setup {
},
workspace = {
library = {[vim.fn.expand("$VIMRUNTIME/lua")] = true, [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true}
},
telemetry = {
enable = false
}
}
},
}
}