1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-08-15 16:38:13 +02:00
dotfiles/nvim/lua/user/plugins/lang/lua.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
}
}
}