nvim-snappy/lsp/lua-language-server.lua

23 lines
373 B
Lua
Raw Normal View History

2025-02-12 11:49:02 +01:00
return {
cmd = { 'lua-language-server' },
filetypes = { 'lua' },
root_markers = { '.luarc.json', '.luarc.jsonc' },
settings = {
Lua = {
2025-02-13 08:58:49 +01:00
format = {
enable = false,
},
2025-02-12 11:49:02 +01:00
runtime = {
version = 'LuaJIT',
},
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME,
},
},
telemetry = { enable = false },
2025-02-12 11:49:02 +01:00
},
},
}