- migrated from lsp-zero to native nvim protocols

- massive refactor/cleanup
This commit is contained in:
2025-06-25 01:53:13 -05:00
parent aba1fea871
commit 7b15dfd69c
7 changed files with 281 additions and 379 deletions
+14 -20
View File
@@ -53,8 +53,6 @@ function M.install_plugins()
},
-- LSP
--"p00f/nvim-ts-rainbow",
--"nvimtools/none-ls.nvim",
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
@@ -63,28 +61,24 @@ function M.install_plugins()
"nvim-treesitter/playground",
"nvimtools/none-ls.nvim",
"windwp/nvim-autopairs",
"neovim/nvim-lspconfig",
"williamboman/mason.nvim",
{
"guy176251/lsp-zero.nvim",
branch = "v1.x",
"L3MON4D3/LuaSnip",
dependencies = {
-- LSP Support
{ "neovim/nvim-lspconfig" }, -- Required
{ "williamboman/mason.nvim" }, -- Optional
{ "williamboman/mason-lspconfig.nvim" }, -- Optional
"honza/vim-snippets",
},
},
-- Autocompletion
{ "hrsh7th/nvim-cmp" }, -- Required
{ "hrsh7th/cmp-nvim-lsp" }, -- Required
{ "hrsh7th/cmp-buffer" }, -- Optional
{ "hrsh7th/cmp-path" }, -- Optional
{ "saadparwaiz1/cmp_luasnip" }, -- Optional
{ "hrsh7th/cmp-nvim-lua" }, -- Optional
-- Snippets
{ "L3MON4D3/LuaSnip" }, -- Required
{ "rafamadriz/friendly-snippets" }, -- Optional
{ "honza/vim-snippets" }, -- Optional
{
"hrsh7th/nvim-cmp",
event = "InsertEnter", -- load cmp on InsertEnter
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"saadparwaiz1/cmp_luasnip",
},
},