disable telemetry sumneko_lua
This commit is contained in:
parent
92591015e5
commit
88e5556595
@ -58,6 +58,9 @@ local sumneko_binary = USER .. "/.config/lua-language-server/bin/Linux/lua-langu
|
|||||||
|
|
||||||
require "lspconfig".sumneko_lua.setup {
|
require "lspconfig".sumneko_lua.setup {
|
||||||
cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
|
cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
|
||||||
|
root_dir = function()
|
||||||
|
return vim.loop.cwd()
|
||||||
|
end,
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
runtime = {
|
runtime = {
|
||||||
@ -69,7 +72,10 @@ require "lspconfig".sumneko_lua.setup {
|
|||||||
},
|
},
|
||||||
workspace = {
|
workspace = {
|
||||||
library = {[vim.fn.expand("$VIMRUNTIME/lua")] = true, [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true}
|
library = {[vim.fn.expand("$VIMRUNTIME/lua")] = true, [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true}
|
||||||
|
},
|
||||||
|
telemetry = {
|
||||||
|
enable = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user