switched from Mason + mason-lspconfig to custom install
This commit is contained in:
17
lua/lsp/lua.lua
Normal file
17
lua/lsp/lua.lua
Normal 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')
|
||||
|
||||
Reference in New Issue
Block a user