This commit is contained in:
Greg 2026-03-01 22:00:21 +02:00
parent 7f9115a42d
commit 989464c303

View file

@ -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 },
},
},