diff options
-rw-r--r-- | .config/nvim/lua/plugins/cmp.lua | 3 | ||||
-rw-r--r-- | .config/nvim/lua/plugins/misc.lua | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index a8e04d7..81cd6cd 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua | |||
@@ -113,7 +113,8 @@ return { | |||
113 | buffer = "[ ]", | 113 | buffer = "[ ]", |
114 | path = "[ ]", | 114 | path = "[ ]", |
115 | })[entry.source.name] | 115 | })[entry.source.name] |
116 | return vim_item | 116 | -- return vim_item |
117 | return require("nvim-highlight-colors").format(entry, vim_item) | ||
117 | end, | 118 | end, |
118 | }, | 119 | }, |
119 | sources = { | 120 | sources = { |
diff --git a/.config/nvim/lua/plugins/misc.lua b/.config/nvim/lua/plugins/misc.lua index f99051e..fc28ffa 100644 --- a/.config/nvim/lua/plugins/misc.lua +++ b/.config/nvim/lua/plugins/misc.lua | |||
@@ -80,4 +80,11 @@ return { | |||
80 | npairs.add_rule(Rule('%"', '%"', "remind")) | 80 | npairs.add_rule(Rule('%"', '%"', "remind")) |
81 | end | 81 | end |
82 | }, | 82 | }, |
83 | { | ||
84 | "brenoprata10/nvim-highlight-colors", | ||
85 | event = { "BufReadPost", "VeryLazy" }, | ||
86 | config = function() | ||
87 | require('nvim-highlight-colors').setup({}) | ||
88 | end | ||
89 | } | ||
83 | } | 90 | } |