feat: Adding nvim-lspconfig and Mason back in for now to get the config

working well for production work.
This commit is contained in:
2026-09-01 09:29:47 -05:00
parent cad2a2f287
commit 7e7c0adfff
4 changed files with 39 additions and 19 deletions

View File

@@ -49,9 +49,35 @@ vim.api.nvim_create_autocmd('LspAttach', {
})
vim.pack.add({
'https://github.com/neovim/nvim-lspconfig'
'https://github.com/neovim/nvim-lspconfig',
'https://github.com/mason-org/mason-lspconfig.nvim',
'https://github.com/mason-org/mason.nvim',
})
require('mason').setup()
require('mason-lspconfig').setup {
automatic_enable = true,
ensure_installed = {
-- 'ansible-lint',
'ansiblels',
'arduino_language_server',
'bashls',
-- 'cfn-lint',
'clangd',
'html',
-- 'htmlhint',
'intelephense',
'jinja_lsp',
'lua_ls',
'marksman',
'pylsp',
'r_language_server',
'rust_analyzer',
-- 'shellcheck',
'yamlls',
}
}
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
@@ -66,7 +92,7 @@ local enabled_lsps = {
'arduino_language_server',
'clangd',
'bashls',
'gdscript',
'gdscript', -- Local only config
'html',
'intelephense',
'jinja_lsp',