1
1
Fork 0

completion for neovim

This commit is contained in:
Gaiety 2026-05-21 19:39:48 -06:00
parent 99d03855a8
commit f154103082
5 changed files with 26 additions and 1 deletions

View file

@ -3,5 +3,6 @@
bat = "latest" bat = "latest"
fzf = "latest" fzf = "latest"
neovim = "latest" neovim = "latest"
rust = "latest"
zellij = "latest" zellij = "latest"
zoxide = "latest" zoxide = "latest"

View file

@ -7,6 +7,8 @@ require('theme')
require('statusline') require('statusline')
require('buffers') require('buffers')
require('completion')
require('tree') require('tree')
require('undo') require('undo')
require('telescope') require('telescope')

11
nvim/lua/completion.lua Normal file
View file

@ -0,0 +1,11 @@
vim.pack.add({
'https://github.com/saghen/blink.lib',
'https://github.com/rafamadriz/friendly-snippets',
'https://github.com/saghen/blink.cmp'
})
local cmp = require('blink.cmp')
cmp.build():wait(60000)
cmp.setup({
keymap = { preset = 'super-tab' }
})

View file

@ -2,7 +2,6 @@ vim.pack.add({
'https://github.com/rose-pine/neovim' 'https://github.com/rose-pine/neovim'
}) })
-- hi =>
require('rose-pine').setup({ require('rose-pine').setup({
highlight_groups = { highlight_groups = {
Comment = { italic = true } Comment = { italic = true }

View file

@ -12,6 +12,18 @@
"rev": "539d73def39c9172b4d4d769f14090e08f37b29d", "rev": "539d73def39c9172b4d4d769f14090e08f37b29d",
"src": "https://github.com/romgrk/barbar.nvim" "src": "https://github.com/romgrk/barbar.nvim"
}, },
"blink.cmp": {
"rev": "35e3923a09ff3db150ceff80004befcbbfa071a0",
"src": "https://github.com/saghen/blink.cmp"
},
"blink.lib": {
"rev": "f29d8bac6549bc1e7d699c83f680823d7def98bd",
"src": "https://github.com/saghen/blink.lib"
},
"friendly-snippets": {
"rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9",
"src": "https://github.com/rafamadriz/friendly-snippets"
},
"gitsigns.nvim": { "gitsigns.nvim": {
"rev": "4ed47e8c4c66c921dc1d6643977e0526e1f44396", "rev": "4ed47e8c4c66c921dc1d6643977e0526e1f44396",
"src": "https://github.com/lewis6991/gitsigns.nvim" "src": "https://github.com/lewis6991/gitsigns.nvim"