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; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
barbar-nvim
|
barbar-nvim
|
||||||
catppuccin-nvim
|
catppuccin-nvim
|
||||||
|
cmp-async-path
|
||||||
|
cmp-buffer
|
||||||
cmp-nvim-lsp
|
cmp-nvim-lsp
|
||||||
lsp-format-nvim
|
lsp-format-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
|
|
|
@ -107,6 +107,8 @@ cmp.setup({
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
||||||
}),
|
}),
|
||||||
sources = {
|
sources = {
|
||||||
|
{ name = "async_path" },
|
||||||
|
{ name = "buffer" },
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue