feat(nvim): final simplication;

This commit is contained in:
Barrett Ruth 2026-03-01 12:55:32 -05:00
parent 6f664a27bd
commit 060cb3d7a8
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
19 changed files with 46 additions and 163 deletions

View file

@ -1,11 +1,11 @@
vim.pack.add({
{ src = 'https://github.com/saghen/blink.cmp', load = false },
{ src = 'https://github.com/Kaiser-Yang/blink-cmp-git', load = false },
{ src = 'https://github.com/bydlw98/blink-cmp-env', load = false },
{ src = 'https://github.com/barrettruth/blink-cmp-ssh', load = false },
{ src = 'https://github.com/barrettruth/blink-cmp-tmux', load = false },
{ src = 'https://github.com/barrettruth/blink-cmp-ghostty', load = false },
})
'https://github.com/saghen/blink.cmp',
'https://github.com/Kaiser-Yang/blink-cmp-git',
'https://github.com/bydlw98/blink-cmp-env',
'https://github.com/barrettruth/blink-cmp-ssh',
'https://github.com/barrettruth/blink-cmp-tmux',
'https://github.com/barrettruth/blink-cmp-ghostty',
}, { load = function() end })
local pack_dir = vim.fn.stdpath('data') .. '/site/pack/core/opt'
local blink_dir = pack_dir .. '/blink.cmp'
@ -35,6 +35,13 @@ return {
'saghen/blink.cmp',
event = { 'InsertEnter', 'LspAttach' },
keys = { { '<c-n>', mode = 'i' } },
before = function()
vim.cmd.packadd('blink-cmp-git')
vim.cmd.packadd('blink-cmp-env')
vim.cmd.packadd('blink-cmp-ssh')
vim.cmd.packadd('blink-cmp-tmux')
vim.cmd.packadd('blink-cmp-ghostty')
end,
after = function()
---@module 'blink.cmp'
---@type blink.cmp.Config

View file

@ -1,6 +1,6 @@
vim.pack.add({
{ src = 'https://github.com/ibhagwan/fzf-lua', load = false },
})
'https://github.com/ibhagwan/fzf-lua',
}, { load = function() end })
return {
'ibhagwan/fzf-lua',

View file

@ -1,7 +1,7 @@
vim.pack.add({
{ src = 'https://github.com/tpope/vim-fugitive', load = false },
{ src = 'https://github.com/lewis6991/gitsigns.nvim', load = false },
})
'https://github.com/tpope/vim-fugitive',
'https://github.com/lewis6991/gitsigns.nvim',
}, { load = function() end })
---@return string
local function file_loc()

View file

@ -1,7 +1,7 @@
vim.pack.add({
{ src = 'https://github.com/nvimdev/guard.nvim', load = false },
{ src = 'https://github.com/nvimdev/guard-collection', load = false },
})
'https://github.com/nvimdev/guard.nvim',
'https://github.com/nvimdev/guard-collection',
}, { load = function() end })
return {
'nvimdev/guard.nvim',

View file

@ -1,9 +1,12 @@
vim.pack.add({
'https://github.com/neovim/nvim-lspconfig',
{ src = 'https://github.com/folke/lazydev.nvim', load = false },
{ src = 'https://github.com/saecki/live-rename.nvim', load = false },
})
vim.pack.add({
'https://github.com/folke/lazydev.nvim',
'https://github.com/saecki/live-rename.nvim',
}, { load = function() end })
return {
{
'neovim/nvim-lspconfig',

View file

@ -1,15 +1,15 @@
vim.pack.add({
{ src = 'https://github.com/echasnovski/mini.ai', load = false },
{ src = 'https://github.com/monaqa/dial.nvim', load = false },
{ src = 'https://github.com/catgoose/nvim-colorizer.lua', load = false },
{ src = 'https://github.com/echasnovski/mini.pairs', load = false },
{ src = 'https://github.com/echasnovski/mini.misc', load = false },
{ src = 'https://github.com/nvim-mini/mini.bufremove', load = false },
{ src = 'https://github.com/tpope/vim-abolish', load = false },
{ src = 'https://github.com/tpope/vim-sleuth', load = false },
{ src = 'https://github.com/kylechui/nvim-surround', load = false },
{ src = 'https://github.com/lervag/vimtex', load = false },
})
'https://github.com/echasnovski/mini.ai',
'https://github.com/monaqa/dial.nvim',
'https://github.com/catgoose/nvim-colorizer.lua',
'https://github.com/echasnovski/mini.pairs',
'https://github.com/echasnovski/mini.misc',
'https://github.com/nvim-mini/mini.bufremove',
'https://github.com/tpope/vim-abolish',
'https://github.com/tpope/vim-sleuth',
'https://github.com/kylechui/nvim-surround',
'https://github.com/lervag/vimtex',
}, { load = function() end })
return {
{

View file

@ -1,9 +1,12 @@
vim.pack.add({
'https://github.com/nvim-treesitter/nvim-treesitter',
'https://github.com/nvim-treesitter/nvim-treesitter-textobjects',
{ src = 'https://github.com/Wansmer/treesj', load = false },
})
vim.pack.add({
'https://github.com/Wansmer/treesj',
}, { load = function() end })
vim.api.nvim_create_autocmd('PackChanged', {
callback = function(ev)
local name, kind = ev.data.spec.name, ev.data.kind