feat(neovim): add more sources to cmp

This commit is contained in:
uku 2025-01-08 16:59:38 +01:00
parent 1334d7d2ea
commit 3ed3884634
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,8 @@
plugins = with pkgs.vimPlugins; [
barbar-nvim
catppuccin-nvim
cmp-async-path
cmp-buffer
cmp-nvim-lsp
lsp-format-nvim
lualine-nvim

View file

@ -107,6 +107,8 @@ cmp.setup({
["<CR>"] = cmp.mapping.confirm({ select = true }),
}),
sources = {
{ name = "async_path" },
{ name = "buffer" },
{ name = "nvim_lsp" },
},
})