mirror of
https://github.com/pnx/dotfiles
synced 2026-08-15 16:38:13 +02:00
30 lines
615 B
Lua
30 lines
615 B
Lua
local spec = require('user.utils.lang_spec')
|
|
|
|
local lspservers = {
|
|
lua_ls = {
|
|
settings = {
|
|
Lua = {
|
|
hint = {
|
|
arrayIndex = "Disable",
|
|
paramName = "Literal",
|
|
},
|
|
runtime = {
|
|
version = "LuaJIT",
|
|
},
|
|
workspace = {
|
|
checkThirdParty = false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
return {
|
|
spec.treesitter("lua"),
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = lspservers
|
|
}
|
|
}
|
|
}
|