23 lines
373 B
Lua
23 lines
373 B
Lua
return {
|
|
cmd = { 'lua-language-server' },
|
|
filetypes = { 'lua' },
|
|
root_markers = { '.luarc.json', '.luarc.jsonc' },
|
|
settings = {
|
|
Lua = {
|
|
format = {
|
|
enable = false,
|
|
},
|
|
runtime = {
|
|
version = 'LuaJIT',
|
|
},
|
|
workspace = {
|
|
checkThirdParty = false,
|
|
library = {
|
|
vim.env.VIMRUNTIME,
|
|
},
|
|
},
|
|
telemetry = { enable = false },
|
|
},
|
|
},
|
|
}
|