mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
feat(lsp-config.lua): configure python lsp using pylsp to provide language server capabilities for Python files refactor(magma.lua): remove magma plugin configuration as it is no longer used feat(mason.lua): add configuration for mason and mason-nvim-dap plugins to enable package management and debugging features in Neovim refactor(init.lua): set maplocalleader to "\\" for easier keybindings refactor(remap.lua): remove setting mapleader to " " as it is no longer needed, add keybinding for toggling file explorer using NvimTreeToggle command
23 lines
457 B
Lua
23 lines
457 B
Lua
require("mason").setup();
|
|
require("mason-lspconfig").setup({
|
|
ensure_installed = {
|
|
"tsserver",
|
|
"eslint",
|
|
"rust_analyzer",
|
|
"html",
|
|
"emmet_ls",
|
|
"lua_ls",
|
|
"tailwindcss",
|
|
"svelte",
|
|
"cssls",
|
|
"pyright"
|
|
},
|
|
automatic_installation = true,
|
|
})
|
|
require("mason-nvim-dap").setup({
|
|
ensure_installed = {
|
|
"debugpy", -- python
|
|
},
|
|
automatic_installation = true,
|
|
})
|