flexoki-neovim/lua/flexoki/highlights/flash-nvim.lua

22 lines
559 B
Lua
Raw Normal View History

2023-12-07 18:20:41 +08:00
local palette = require('flexoki.palette')
local M = {}
M.groups = function()
local c = palette.palette()
--- @type table<string, vim.api.keyset.highlight>
return {
['FlashBackdrop'] = { link = 'Comment' },
['FlashMatch'] = { fg = c['bg'], bg = c['tx-3'] },
['FlashCurrent'] = { fg = c['bg'], bg = c['tx'] },
['FlashLabel'] = { fg = c['bg'], bg = c['ye'] },
['FlashPrompt'] = { link = 'MsgArea' },
['FlashPromptIcon'] = { fg = c['ye'], bg = 'NONE' },
['FlashCursor'] = { link = 'Cursor' },
}
end
return M