-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(blink-cmp): add integration (#777)
* feat(blink-cmp): add highlights * feat(blink-cmp): update README.md * feat(blink-cmp): use surface0 for selected suggestion for better contrast * feat(blink-cmp): support transparent setup * feat(blink-cmp): update kind highlights following style guide * fix(blink-cmp): set correct default in README
- Loading branch information
1 parent
08efbef
commit abceb64
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
local M = {} | ||
|
||
function M.get() | ||
return { | ||
BlinkCmpMenu = { fg = C.text, bg = O.transparent_background and C.none or C.base }, | ||
BlinkCmpMenuBorder = { fg = C.overlay0, bg = O.transparent_background and C.none or C.base }, | ||
BlinkCmpMenuSelection = { bg = C.surface0 }, | ||
BlinkCmpLabel = { fg = C.text }, | ||
BlinkCmpLabelDeprecated = { fg = C.overlay0, style = { "strikethrough" } }, | ||
BlinkCmpDocBorder = { fg = C.overlay0, bg = O.transparent_background and C.none or C.base }, | ||
BlinkCmpDoc = { fg = C.text, bg = O.transparent_background and C.none or C.base }, | ||
|
||
BlinkCmpKindText = { fg = C.green }, | ||
BlinkCmpKindMethod = { fg = C.blue }, | ||
BlinkCmpKindFunction = { fg = C.blue }, | ||
BlinkCmpKindConstructor = { fg = C.blue }, | ||
BlinkCmpKindField = { fg = C.green }, | ||
BlinkCmpKindVariable = { fg = C.flamingo }, | ||
BlinkCmpKindClass = { fg = C.yellow }, | ||
BlinkCmpKindInterface = { fg = C.yellow }, | ||
BlinkCmpKindModule = { fg = C.blue }, | ||
BlinkCmpKindProperty = { fg = C.blue }, | ||
BlinkCmpKindUnit = { fg = C.green }, | ||
BlinkCmpKindValue = { fg = C.peach }, | ||
BlinkCmpKindEnum = { fg = C.yellow }, | ||
BlinkCmpKindKeyword = { fg = C.mauve }, | ||
BlinkCmpKindSnippet = { fg = C.flamingo }, | ||
BlinkCmpKindColor = { fg = C.red }, | ||
BlinkCmpKindFile = { fg = C.blue }, | ||
BlinkCmpKindReference = { fg = C.red }, | ||
BlinkCmpKindFolder = { fg = C.blue }, | ||
BlinkCmpKindEnumMember = { fg = C.teal }, | ||
BlinkCmpKindConstant = { fg = C.peach }, | ||
BlinkCmpKindStruct = { fg = C.blue }, | ||
BlinkCmpKindEvent = { fg = C.blue }, | ||
BlinkCmpKindOperator = { fg = C.sky }, | ||
BlinkCmpKindTypeParameter = { fg = C.maroon }, | ||
} | ||
end | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters