lsp config

This commit is contained in:
2026-03-21 23:56:43 +01:00
parent 21f51da357
commit c80bb97e1c
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,23 @@
return {
{
"mason-org/mason.nvim",
config = function()
require("mason").setup()
end
},
{
"mason-org/mason-lspconfig.nvim",
opts = {
automatic_enable = true
}
},
{
"neovim/nvim-lspconfig",
config = function()
vim.lsp.enable('lua_ls')
vim.lsp.enable('pyright')
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
end
}
}
@@ -12,6 +12,14 @@ return {
-- set up
config = function()
require("neo-tree").setup({
filesystem = {
filtered_items = {
visible = true,
hide_dotfiles = false,
},
},
})
vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal left<CR>', {})
end
}