Skip to content

Commit

Permalink
feat(supermaven): add support for supermaven-nvim (#633)
Browse files Browse the repository at this point in the history
## Description

Add `CmpItemKindSupermaven` support for plugin
[supermaven-nvim](https://github.com/supermaven-inc/supermaven-nvim)
like copilot and codeium.
  • Loading branch information
tigion authored Sep 16, 2024
1 parent f31be07 commit 9699675
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extras/lua/tokyonight_day.lua
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,10 @@ local highlights = {
CmpItemKindSnippet = "LspKindSnippet",
CmpItemKindString = "LspKindString",
CmpItemKindStruct = "LspKindStruct",
CmpItemKindSupermaven = {
bg = "NONE",
fg = "#118c74"
},
CmpItemKindTabNine = {
bg = "NONE",
fg = "#118c74"
Expand Down
4 changes: 4 additions & 0 deletions extras/lua/tokyonight_moon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,10 @@ local highlights = {
CmpItemKindSnippet = "LspKindSnippet",
CmpItemKindString = "LspKindString",
CmpItemKindStruct = "LspKindStruct",
CmpItemKindSupermaven = {
bg = "NONE",
fg = "#4fd6be"
},
CmpItemKindTabNine = {
bg = "NONE",
fg = "#4fd6be"
Expand Down
4 changes: 4 additions & 0 deletions extras/lua/tokyonight_night.lua
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,10 @@ local highlights = {
CmpItemKindSnippet = "LspKindSnippet",
CmpItemKindString = "LspKindString",
CmpItemKindStruct = "LspKindStruct",
CmpItemKindSupermaven = {
bg = "NONE",
fg = "#1abc9c"
},
CmpItemKindTabNine = {
bg = "NONE",
fg = "#1abc9c"
Expand Down
4 changes: 4 additions & 0 deletions extras/lua/tokyonight_storm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,10 @@ local highlights = {
CmpItemKindSnippet = "LspKindSnippet",
CmpItemKindString = "LspKindString",
CmpItemKindStruct = "LspKindStruct",
CmpItemKindSupermaven = {
bg = "NONE",
fg = "#1abc9c"
},
CmpItemKindTabNine = {
bg = "NONE",
fg = "#1abc9c"
Expand Down
1 change: 1 addition & 0 deletions lua/tokyonight/groups/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function M.get(c, opts)
CmpItemAbbrMatchFuzzy = { fg = c.blue1, bg = c.none },
CmpItemKindCodeium = { fg = c.teal, bg = c.none },
CmpItemKindCopilot = { fg = c.teal, bg = c.none },
CmpItemKindSupermaven = { fg = c.teal, bg = c.none },
CmpItemKindDefault = { fg = c.fg_dark, bg = c.none },
CmpItemKindTabNine = { fg = c.teal, bg = c.none },
CmpItemMenu = { fg = c.comment, bg = c.none },
Expand Down

0 comments on commit 9699675

Please sign in to comment.