Skip to content

Commit

Permalink
Step 4
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed May 27, 2024
1 parent ec9ebd3 commit 7b845cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/fittencode/color.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ local M = {}
M.FittenSuggestion = 'FittenSuggestion'
M.FittenSuggestionWhitespace = 'FittenSuggestionWhitespace'
M.FittenNoMoreSuggestion = 'FittenNoMoreSuggestion'
M.FittenSuggestionStage = 'FittenSuggestionStage'

-- Define FittenCode colors
local colors = {}
colors.gray = '#808080'
colors.yellow = '#FFEBC7'
colors.yellow2 = '#C6F0C2'

function M.setup_highlight()
Base.set_hi(M.FittenSuggestion, {
Expand All @@ -24,6 +26,10 @@ function M.setup_highlight()
fg = colors.yellow,
ctermfg = 'LightYellow',
})
Base.set_hi(M.FittenSuggestionStage, {
fg = colors.yellow2,
ctermfg = 'LightYellow',
})
end

return M

0 comments on commit 7b845cf

Please sign in to comment.