feat: mirgated to neovims internal plugin manager

This commit is contained in:
2026-07-21 13:15:33 +02:00
parent 5f83f33abc
commit 706ed1e2e7
7 changed files with 115 additions and 68 deletions

View File

@@ -1,25 +1,29 @@
vim.pack.add({
'https://github.com/neovim/nvim-lspconfig',
'https://github.com/mason-org/mason.nvim',
'https://github.com/mason-org/mason-lspconfig.nvim',
'https://github.com/neovim/nvim-lspconfig',
'https://github.com/mason-org/mason.nvim',
'https://github.com/mason-org/mason-lspconfig.nvim',
})
require('mason').setup({
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
})
require('mason-lspconfig').setup({
ensure_installed = {
"svelte",
"clangd",
"ts_ls",
"pyright",
"lua_ls"
},
automatic_enable = true,
ensure_installed = {
"svelte",
"clangd",
"ts_ls",
"pyright",
"lua_ls"
},
automatic_enable = true,
})
vim.lsp.config('svelte', {
-- capabilities = svelte_lsp_capabilities,
filetypes = { "svelte" },
})