Add workspace.library option for sumneko_lua lsp server
This commit is contained in:
@@ -94,6 +94,9 @@ lsp_installer.on_server_ready(function(server)
|
|||||||
table.insert(opts, {
|
table.insert(opts, {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
workspace = {
|
||||||
|
library = vim.api.nvim_get_runtime_file("", true)
|
||||||
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
globals = { "vim" }
|
globals = { "vim" }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user