Remove: nvim plugin dir

This commit is contained in:
2026-04-22 08:15:47 -05:00
parent 4eca393aa9
commit f151eae7e7
2 changed files with 13 additions and 170 deletions
+13 -21
View File
@@ -1,34 +1,26 @@
local lsp_zero = require('lsp-zero')
lsp_zero.on_attach(function(client, bufnr)
-- see :help lsp-zero-keybindings
-- to learn the available actions
lsp_zero.default_keymaps({buffer = bufnr})
-- see :help lsp-zero-keybindings
-- to learn the available actions
lsp_zero.default_keymaps({
buffer = bufnr
})
end)
lsp_zero.set_sign_icons({
error = '',
warn = '',
hint = '',
info = '»'
error = '',
warn = '',
hint = '',
info = '»'
})
-- to learn how to use mason.nvim
-- read this: https://github.com/VonHeikemen/lsp-zero.nvim/blob/v3.x/doc/md/guide/integrate-with-mason-nvim.md
require('mason').setup({})
require('mason-lspconfig').setup({
ensure_installed = {
'lua_ls',
'tsserver',
'eslint',
'gopls',
'rust_analyzer',
},
handlers = {
function(server_name)
require('lspconfig')[server_name].setup({})
end,
},
ensure_installed = {'lua_ls', 'ts_ls', 'eslint', 'gopls', 'rust_analyzer'},
handlers = {function(server_name)
require('lspconfig')[server_name].setup({})
end}
})