Add highlights for flash.nvim

This commit is contained in:
Jan Polak 2023-12-07 11:20:41 +01:00
parent 9904170427
commit 433ec1a5f5
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
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

View File

@ -6,6 +6,7 @@ M.groups = function ()
local modules = { local modules = {
require('flexoki.highlights.base').groups(), require('flexoki.highlights.base').groups(),
require('flexoki.highlights.mini-nvim').groups(), require('flexoki.highlights.mini-nvim').groups(),
require('flexoki.highlights.flash-nvim').groups(),
-- require('flexoki.highlights.buffer').groups(), -- require('flexoki.highlights.buffer').groups(),
-- require('flexoki.highlights.cmp').groups(), -- require('flexoki.highlights.cmp').groups(),
-- require('flexoki.highlights.dashboard').groups(), -- require('flexoki.highlights.dashboard').groups(),