mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 03:30:12 +02:00
fix: lazy-load icons
This commit is contained in:
parent
488ae9efb9
commit
5e1d88a165
1 changed files with 8 additions and 2 deletions
|
@ -29,8 +29,6 @@ return {
|
||||||
-- your own keymap. when defining your own, no keybinds will be assigned automatically.
|
-- your own keymap. when defining your own, no keybinds will be assigned automatically.
|
||||||
keymap = "default",
|
keymap = "default",
|
||||||
|
|
||||||
kind_icons = LazyVim.config.icons.kinds,
|
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
-- sets the fallback highlight groups to nvim-cmp's highlight groups
|
-- sets the fallback highlight groups to nvim-cmp's highlight groups
|
||||||
-- useful for when your theme doesn't support blink.cmp
|
-- useful for when your theme doesn't support blink.cmp
|
||||||
|
@ -63,6 +61,14 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- add icons
|
||||||
|
{
|
||||||
|
"saghen/blink.cmp",
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.kind_icons = LazyVim.config.icons.kinds
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- lazydev
|
-- lazydev
|
||||||
{
|
{
|
||||||
"saghen/blink.cmp",
|
"saghen/blink.cmp",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue