mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-16 01:01:34 +00:00
add cmp git
This commit is contained in:
@ -2,8 +2,9 @@ return {
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-buffer", -- source for text in buffer
|
||||
"hrsh7th/cmp-path", -- source for file system paths
|
||||
"hrsh7th/cmp-buffer", -- source for text in buffer
|
||||
"hrsh7th/cmp-path", -- source for file system paths
|
||||
{ "petertriho/cmp-git", opts = {} }, -- source for git
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
-- follow latest release.
|
||||
@ -47,7 +48,8 @@ return {
|
||||
{ name = "luasnip" }, -- snippets
|
||||
{ name = "buffer" }, -- text within current buffer
|
||||
{ name = "path" }, -- file system paths
|
||||
{ name = "crates" } -- rust crates
|
||||
{ name = "crates" }, -- rust crates
|
||||
{ name = "git" },
|
||||
}),
|
||||
|
||||
-- configure lspkind for vs-code like pictograms in completion menu
|
||||
|
Reference in New Issue
Block a user