feat(nvim): final simplication;
This commit is contained in:
parent
6f664a27bd
commit
060cb3d7a8
19 changed files with 46 additions and 163 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue