switched from Mason + mason-lspconfig to custom install

This commit is contained in:
THEON-1
2025-12-03 17:13:52 +01:00
parent b31dab0c4f
commit 97864420c3
9 changed files with 234 additions and 4 deletions

17
lua/lsp/lua.lua Normal file
View File

@@ -0,0 +1,17 @@
---@type vim.lsp.Config
local config = {
cmd = { 'lua-language-server' },
filetypes = { 'lua' },
root_markers = { { '.luarc.json', '.luarc.jsonc' }, '.git' },
settings = {
codeLens = { enable = true },
hine = {
enable = true,
semicolon = 'Disable',
},
},
}
vim.lsp.config['lua_ls'] = config
vim.lsp.enable('lua_ls')