Skip to content

Commit

Permalink
feat: vscode like lspkind highlighting inside nvim-cmp projekt0n#137
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Dec 1, 2021
1 parent 615c4dc commit a4badcb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- refactor: global variable prefix store in `key_prefix` variable
- refactor: pass common config in `extra` module
- enhance: `StatusLine` foreground & `StatusLineNC` background colors are customizable ( related to #11 )
- feat: vscode like lspkind highlighting inside `nvim-cmp` #137

### Fixes

Expand Down
12 changes: 12 additions & 0 deletions lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,18 @@ function M.setup(config)
CmpDocumentation = {links = "NormalFloat"},
CmpDocumentationBorder = {links = "FloatBorder"},

CmpItemAbbrDeprecated = {fg = c.syntax.comment, style = "strikethrough"},
CmpItemAbbrMatch = {fg = c.blue},
CmpItemAbbrMatchFuzzy = {link = "CmpItemAbbrMatch"},
CmpItemKindVariable = {fg = c.syntax.variable},
CmpItemKindInterface = {link = "CmpItemKindVariable"},
CmpItemKindText = {link = "CmpItemKindVariable"},
CmpItemKindFunction = {fg = c.syntax.func},
CmpItemKindMethod = {link = "CmpItemKindFunction"},
CmpItemKindKeyword = {fg = c.syntax.keyword},
CmpItemKindProperty = {link = "CmpItemKindKeyword"},
CmpItemKindUnit = {link = "CmpItemKindKeyword"},

-- nvim-notify
NotifyERRORTitle = {fg = util.darken(c.error, 0.9)},
NotifyWARNTitle = {fg = util.darken(c.warning, 0.9)},
Expand Down

0 comments on commit a4badcb

Please sign in to comment.