local highlight = function(group, opts, space) space = space or 0 a.nvim_set_hl(space, group, opts) end local c = require('mellow.colors').dark -- vim highlights ------------------------------------------------------------- highlight("CursorLineNr", { bg = c.bg_dark, fg = c.fg, bold = true }) -- remove tildas highlight('EndOfBuffer', { fg = c.bg }) -- plugin highlights ---------------------------------------------------------- -- telescope highlight('TelescopeMatching', { bg = c.gray01 }) highlight('TelescopeNormal', { bg = c.bg_dark }) highlight('TelescopePreviewBorder', { bg = c.bg }) highlight('TelescopePreviewNormal', { bg = c.bg }) highlight('TelescopePreviewTitle', { bg = c.bg, fg = c.bg }) highlight('TelescopePromptBorder', { bg = c.gray01 }) highlight('TelescopePromptNormal', { bg = c.gray01 }) highlight('TelescopePromptPrefix', { bg = c.gray01 }) highlight('TelescopePromptTitle', { bg = c.gray01 }) highlight('TelescopeResultsBorder', { bg = c.bg_dark }) highlight('TelescopeResultsNormal', { bg = c.bg_dark }) highlight('TelescopeResultsTitle', { bg = c.bg_dark, fg = c.bg_dark }) highlight('TelescopeSelection', { bg = c.bg }) highlight('TelescopeSelectionCaret', { bg = c.bg, fg = c.red}) -- indent blankline highlight('IndentBlanklineIndent1', { bg = c.bg }) highlight('IndentBlanklineIndent2', { bg = c.bg_dark }) -- alpha highlight('AlphaHeader', { fg = c.blue }) -- fidget highlight('FidgetTask', { fg = c.fg }) -- quick fix sign highlight('LightBulbSignTxthl', {fg = c.bright_magenta})