config
This commit is contained in:
parent
7f9115a42d
commit
989464c303
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ vim.lsp.config("lua_ls", {
|
|||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.api.nvim_get_runtime_file("", true),
|
||||
vim.env.VIMRUNTIME,
|
||||
"${3rd}/luv/library",
|
||||
},
|
||||
},
|
||||
|
|
@ -16,7 +16,7 @@ vim.lsp.config("lua_ls", {
|
|||
format = { enable = false },
|
||||
telemetry = { enable = false },
|
||||
-- NOTE: toggle below to ignore Lua_LS's noisy `missing-fields` warnings
|
||||
diagnostics = { disable = { "missing-fields" }, globals = { "vim", "require" } },
|
||||
diagnostics = { disable = { "missing-fields" }, globals = { "require", "ipairs" } },
|
||||
hint = { enable = true },
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue