feat(neovim): add more sources to cmp
This commit is contained in:
parent
1334d7d2ea
commit
3ed3884634
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -107,6 +107,8 @@ cmp.setup({
|
|||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||
}),
|
||||
sources = {
|
||||
{ name = "async_path" },
|
||||
{ name = "buffer" },
|
||||
{ name = "nvim_lsp" },
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue