Skip to content

Invalid highlight name: 'BlinkCmpKindT Text' #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BingCoke opened this issue Oct 8, 2024 · 4 comments
Closed

Invalid highlight name: 'BlinkCmpKindT Text' #17

BingCoke opened this issue Oct 8, 2024 · 4 comments

Comments

@BingCoke
Copy link

BingCoke commented Oct 8, 2024

image
@aerosol
Copy link

aerosol commented Oct 8, 2024

E5248: Invalid character in group name                                                                                                                           
Error executing vim.schedule lua callback: .../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:94: Invalid highlight name: 'BlinkCmpKind󰉿 Text'          
stack traceback:                                                                                                                                                 
        [C]: in function 'nvim_set_hl'                                                                                                                           
        .../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:94: in function 'set_hl'                                                                     
        .../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:102: in function 'add_default_highlights'                                                    
        .../.local/share/nvim/lazy/blink.cmp/lua/blink/cmp/init.lua:14: in function 'callback'                                                                   
        ...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:17: in function <...are/nvim/lazy/blink.cmp/lua/blink/cmp/fuzzy/download.lua:17>       

@strayer
Copy link

strayer commented Oct 8, 2024

For me this is related to lspkind. Commenting out this line in my config fixes the error in my case.

@dsully
Copy link
Contributor

dsully commented Oct 8, 2024

It may also be related to mini.icons if you're calling icons.tweak_lsp_kind("prepend"), which modifies the vim.lsp.protocol.CompletionItemKind table.

@MagicDuck
Copy link

same issue here. As soon as I comment out lspkind plugin, the issue goes away:

  -- {
  --   'onsails/lspkind-nvim',
  --   lazy = true,
  --   event = { 'BufReadPre', 'BufNewFile', 'VeryLazy' },
  --   config = function()
  --     require('lspkind').init()
  --   end,
  -- },

@Saghen Saghen closed this as completed in 4daf96d Oct 9, 2024
lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
lopi-py pushed a commit to lopi-py/blink.cmp that referenced this issue Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants