onsails / lspkind.nvim

vscode-like pictograms for neovim lsp completion items
MIT License
1.51k stars 39 forks source link

Document highlights #32

Open ldelossa opened 2 years ago

ldelossa commented 2 years ago

I love this plugin and use it daily.

Any chance we can get highlights for the symbols?

ijimiji commented 2 years ago
highlight! default link CmpItemKindMatch          Boolean
highlight! default link CmpItemKindMatchFuzzy     Boolean
highlight! default link CmpItemKindText           Label
highlight! default link CmpItemKindMethod         Function
highlight! default link CmpItemKindFunction       Function
highlight! default link CmpItemKindConstructor    Function
highlight! default link CmpItemKindField          Type
highlight! default link CmpItemKindVariable       Type
highlight! default link CmpItemKindClass          Structure
highlight! default link CmpItemKindInterface      Structure
highlight! default link CmpItemKindModule         Structure
highlight! default link CmpItemKindProperty       Type
highlight! default link CmpItemKindUnit           Boolean
highlight! default link CmpItemKindValue          Character
highlight! default link CmpItemKindEnum           Structure
highlight! default link CmpItemKindKeyword        Operator
highlight! default link CmpItemKindSnippet        Special
highlight! default link CmpItemKindColor          Constant
highlight! default link CmpItemKindFile           String
highlight! default link CmpItemKindReference      Character
highlight! default link CmpItemKindFolder         String
highlight! default link CmpItemKindEnumMember     Type
highlight! default link CmpItemKindConstant       Constant
highlight! default link CmpItemKindStruct         Structure
highlight! default link CmpItemKindEvent          Conditional
highlight! default link CmpItemKindOperator       Operator
highlight! default link CmpItemKindTypeParameter  Special

The following snippet would result: image

Is it what you wanted to achieve?

ldelossa commented 2 years ago

Looks good!