mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-10-24 05:23:19 +00:00
feat(nvim): phase 3 — replace nvim-cmp with blink.cmp and telescope with snacks.picker
Swap the completion engine to blink.cmp v1.x, dropping nvim-cmp, its eight cmp-* sources, lspkind, and LuaSnip. Swap the picker to snacks.picker, removing telescope.nvim and six telescope extensions. LSP capabilities now sourced from blink.cmp; LSP navigation keymaps and the colorscheme/keymaps/todo pickers move to Snacks.picker. friendly-snippets is preserved as blink's snippet source.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"saghen/blink.cmp",
|
||||
version = "1.*",
|
||||
event = "InsertEnter",
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
config = function()
|
||||
require("absolute.after.blink-cmp")
|
||||
end,
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
return {
|
||||
'hrsh7th/nvim-cmp',
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
'hrsh7th/cmp-buffer', --source for text in buffer
|
||||
'hrsh7th/cmp-path', --source for file system paths
|
||||
'hrsh7th/cmp-cmdline',
|
||||
"saadparwaiz1/cmp_luasnip", --source for autocompletion
|
||||
"onsails/lspkind.nvim",
|
||||
"L3MON4D3/LuaSnip", --Snippet Engine
|
||||
"rafamadriz/friendly-snippets", --Useful snippets
|
||||
},
|
||||
config = function()
|
||||
require("absolute.after.nvim-cmp")
|
||||
end
|
||||
}
|
||||
@@ -20,6 +20,13 @@ return {
|
||||
warn = "",
|
||||
},
|
||||
},
|
||||
-- picker added in Phase 3
|
||||
picker = {
|
||||
enabled = true,
|
||||
ui_select = true,
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("snacks").setup(opts)
|
||||
require("absolute.after.snacks")
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
branch = "0.1.x",
|
||||
dependencies = {
|
||||
"nvim-lua/popup.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-telescope/telescope-dap.nvim",
|
||||
"andrew-george/telescope-themes",
|
||||
"nvim-telescope/telescope-media-files.nvim",
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
{
|
||||
"nvim-telescope/telescope-live-grep-args.nvim",
|
||||
-- This will not install any breaking changes.
|
||||
-- For major updates, this must be adjusted manually.
|
||||
version = "^1.0.0",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("absolute.after.telescope")
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user