19 lines
521 B
Lua
19 lines
521 B
Lua
|
|
-- Install: dnf install lua-language-server
|
||
|
|
-- Neovim runtime awareness built-in — no neodev.nvim needed
|
||
|
|
return {
|
||
|
|
cmd = { "lua-language-server" },
|
||
|
|
filetypes = { "lua" },
|
||
|
|
root_markers = { ".luarc.json", ".luarc.jsonc", ".git" },
|
||
|
|
settings = {
|
||
|
|
Lua = {
|
||
|
|
runtime = { version = "LuaJIT" },
|
||
|
|
workspace = {
|
||
|
|
checkThirdParty = false,
|
||
|
|
library = vim.api.nvim_get_runtime_file("", true),
|
||
|
|
},
|
||
|
|
diagnostics = { globals = { "vim" } },
|
||
|
|
telemetry = { enable = false },
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|