Skip to content

Commit

Permalink
add model for on_palette and after_palette functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswalls committed Jan 6, 2025
1 parent 2326696 commit 19a6b8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/nordic/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
---@field style string?
---@field link string?

---@alias OnpaletteOverrideFn fun(palette: Colors<string>)
---@alias AfterPaletteOverrideFn fun(palette: Colors<string>)
---@alias HighlightOverrideFn fun(highlights: Highlight[], palette: Colors<string>)

---@class NordicOptions
---@field on_palette OnpaletteOverrideFn?
---@field after_palette AfterPaletteOverrideFn?
---@field on_highlight HighlightOverrideFn?

0 comments on commit 19a6b8a

Please sign in to comment.