Skip to content

Commit

Permalink
feat: copilot ghost text
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 1, 2024
1 parent c3d0838 commit 04d33f5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lua/tokyonight/groups/copilot.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
local M = {}

M.url = "https://github.com/zbirenbaum/copilot.lua"

---@type tokyonight.HighlightsFn
function M.get(c, opts)
-- stylua: ignore
local ret = {
CopilotAnnotation = { fg = c.terminal_black },
CopilotSuggestion = { fg = c.terminal_black },
}
return ret
end

return M
1 change: 1 addition & 0 deletions lua/tokyonight/groups/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ M.plugins = {
["barbar.nvim"] = "barbar",
["blink.cmp"] = "blink",
["bufferline.nvim"] = "bufferline",
["copilot.lua"] = "copilot",
["dashboard-nvim"] = "dashboard",
["flash.nvim"] = "flash",
["fzf-lua"] = "fzf",
Expand Down

0 comments on commit 04d33f5

Please sign in to comment.