Skip to content

Commit 46e8c5b

Browse files
committed
feat(plugins): add blink.cmp support
1 parent 4fd678a commit 46e8c5b

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ term.foreground
236236
| [aerial.nvim](https://github.com/stevearc/aerial.nvim) | `aerial` |
237237
| [avante.nvim](https://github.com/yetone/avante.nvim) | `avante` |
238238
| [beacon.nvim](https://github.com/DanilaMihailov/beacon.nvim) | `beacon` |
239+
| [blink.cmp](https://github.com/Saghen/blink.cmp) | `blink-cmp` |
239240
| [bufferline.nvim](https://github.com/akinsho/bufferline.nvim) | `bufferline` |
240241
| [dashboard-nvim](https://github.com/glepnir/dashboard-nvim) | `dashboard-nvim` |
241242
| [flash.nvim](https://github.com/folke/flash.nvim) | `flash` |
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---@type AstroThemeCallback
2+
local function callback(c)
3+
return {
4+
BlinkCmpLabel = { fg = c.ui.text },
5+
BlinkCmpLabelDeprecated = { fg = c.syntax.red, strikethrough = true },
6+
BlinkCmpLabelMatch = { fg = c.ui.text_match, bold = true },
7+
BlinkCmpKind = { fg = c.syntax.yellow },
8+
BlinkCmpKindClass = "@type",
9+
BlinkCmpKindColor = "@constant",
10+
BlinkCmpKindConstant = "@constant",
11+
BlinkCmpKindConstructor = "@constructor",
12+
BlinkCmpKindEnum = "@type",
13+
BlinkCmpKindEnumMember = "@field",
14+
BlinkCmpKindEvent = "@type",
15+
BlinkCmpKindField = "@field",
16+
BlinkCmpKindFile = "@text.uri",
17+
BlinkCmpKindFolder = "@constant",
18+
BlinkCmpKindFunction = "@function",
19+
BlinkCmpKindInterface = "@type",
20+
BlinkCmpKindKeyword = "@keyword",
21+
BlinkCmpKindMethod = "@method",
22+
BlinkCmpKindModule = "@namespace",
23+
BlinkCmpKindOperator = "@operator",
24+
BlinkCmpKindProperty = "@property",
25+
BlinkCmpKindReference = "@type",
26+
BlinkCmpKindSnippet = "@constant",
27+
BlinkCmpKimdStruct = "@type",
28+
BlinkCmpKindText = "@text",
29+
BlinkCmpKindTypeParameter = "@type",
30+
BlinkCmpKindUnit = "@constant",
31+
BlinkCmpKindValue = "@constant",
32+
BlinkCmpKindVariable = "@variable",
33+
}
34+
end
35+
return callback

lua/astrotheme/groups/plugins/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ return {
22
["aerial.nvim"] = "aerial",
33
["avante.nvim"] = "avante",
44
["beacon.nvim"] = "beacon",
5+
["blink.cmp"] = "blink-cmp",
56
["bufferline.nvim"] = "bufferline",
67
["dashboard-nvim"] = "dashboard-nvim",
78
["flash.nvim"] = "flash",

0 commit comments

Comments
 (0)