@@ -217,7 +217,7 @@ MiniDeps.add({
217
217
--
218
218
-- ['<Tab>'] = {
219
219
-- function(cmp)
220
- -- if cmp.is_in_snippet () then return cmp.accept()
220
+ -- if cmp.snippet_active () then return cmp.accept()
221
221
-- else return cmp.select_and_accept() end
222
222
-- end,
223
223
-- 'snippet_forward',
@@ -383,7 +383,7 @@ MiniDeps.add({
383
383
ellipsis = false ,
384
384
text = function (ctx ) return ctx .kind_icon .. ctx .icon_gap end ,
385
385
highlight = function (ctx )
386
- return require (' blink.cmp.lib.utils ' ).get_tailwind_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
386
+ return require (' blink.cmp.completion.windows.render.tailwind ' ).get_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
387
387
end ,
388
388
},
389
389
@@ -392,7 +392,7 @@ MiniDeps.add({
392
392
width = { fill = true },
393
393
text = function (ctx ) return ctx .kind end ,
394
394
highlight = function (ctx )
395
- return require (' blink.cmp.lib.utils ' ).get_tailwind_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
395
+ return require (' blink.cmp.completion.windows.render.tailwind ' ).get_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
396
396
end ,
397
397
},
398
398
@@ -757,7 +757,7 @@ completion.menu.draw = {
757
757
ellipsis = false ,
758
758
text = function (ctx ) return ctx .kind_icon .. ctx .icon_gap end ,
759
759
highlight = function (ctx )
760
- return require (' blink.cmp.lib.utils ' ).get_tailwind_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
760
+ return require (' blink.cmp.completion.windows.render.tailwind ' ).get_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
761
761
end ,
762
762
},
763
763
@@ -766,7 +766,7 @@ completion.menu.draw = {
766
766
width = { fill = true },
767
767
text = function (ctx ) return ctx .kind end ,
768
768
highlight = function (ctx )
769
- return require (' blink.cmp.lib.utils ' ).get_tailwind_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
769
+ return require (' blink.cmp.completion.windows.render.tailwind ' ).get_hl (ctx ) or ' BlinkCmpKind' .. ctx .kind
770
770
end ,
771
771
},
772
772
0 commit comments