Nvim: Update all plugins
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
return { {
|
||||
'saghen/blink.cmp',
|
||||
'Saghen/blink.cmp',
|
||||
-- optional: provides snippets for the snippet source
|
||||
dependencies = {
|
||||
'rafamadriz/friendly-snippets',
|
||||
'xzbdmw/colorful-menu.nvim'
|
||||
'xzbdmw/colorful-menu.nvim',
|
||||
'disrupted/blink-cmp-conventional-commits',
|
||||
'moyiz/blink-emoji.nvim',
|
||||
},
|
||||
|
||||
-- use a release tag to download pre-built binaries
|
||||
@@ -23,10 +25,10 @@ return { {
|
||||
keymap = { preset = 'default' },
|
||||
|
||||
appearance = {
|
||||
-- Sets the fallback highlight groups to nvim-cmp's highlight groups
|
||||
-- Useful for when your theme doesn't support blink.cmp
|
||||
-- Will be removed in a future release
|
||||
use_nvim_cmp_as_default = true,
|
||||
-- -- Sets the fallback highlight groups to nvim-cmp's highlight groups
|
||||
-- -- Useful for when your theme doesn't support blink.cmp
|
||||
-- -- Will be removed in a future release
|
||||
-- use_nvim_cmp_as_default = true,
|
||||
-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||
-- Adjusts spacing to ensure icons are aligned
|
||||
nerd_font_variant = 'mono'
|
||||
@@ -35,7 +37,26 @@ return { {
|
||||
-- Default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
default = { 'conventional_commits', 'lsp', 'path', 'snippets', 'buffer', 'emoji', 'codecompanion' },
|
||||
providers = {
|
||||
conventional_commits = {
|
||||
name = "Conventional Commits",
|
||||
module = 'blink-cmp-conventional-commits',
|
||||
enabled = function()
|
||||
return vim.bo.filetype == 'gitcommit'
|
||||
end,
|
||||
opts = {}
|
||||
},
|
||||
emoji = {
|
||||
module = 'blink-emoji',
|
||||
name = "Emoji",
|
||||
score_offset = 15,
|
||||
opts = { insert = true },
|
||||
should_show_items = function()
|
||||
return vim.tbl_contains({"gitcommit", "markdown" }, vim.o.filetype)
|
||||
end,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
completion = {
|
||||
@@ -53,8 +74,13 @@ return { {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
accept = { auto_brackets = { enabled = false }, },
|
||||
ghost_text = { enabled = false },
|
||||
},
|
||||
-- experimental:
|
||||
signature = { enabled = true },
|
||||
},
|
||||
opts_extend = { "sources.default" }
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user