summaryrefslogtreecommitdiffstats
path: root/lua/core/highlight.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-04-30 18:41:13 -0400
committerSquibid <me@zacharyscheiman.com>2023-04-30 18:41:13 -0400
commit01a09f243ce07d367c539d69d4a7f4541ab1dcd7 (patch)
treeec2af23e59a38d4f9ac476e69abc07c8110b52a1 /lua/core/highlight.lua
parent7c5d3eff786bef884022cc813448bb085ba4eccd (diff)
downloadnvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.gz
nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.tar.bz2
nvim-01a09f243ce07d367c539d69d4a7f4541ab1dcd7.zip
new config old version is now on v1 branch
Diffstat (limited to '')
-rw-r--r--lua/core/highlight.lua50
1 files changed, 50 insertions, 0 deletions
diff --git a/lua/core/highlight.lua b/lua/core/highlight.lua
new file mode 100644
index 0000000..bf8865b
--- /dev/null
+++ b/lua/core/highlight.lua
@@ -0,0 +1,50 @@
+local highlight = function(group, opts, space)
+ space = space or 0
+ a.nvim_set_hl(space, group, opts)
+end
+
+local c = require('mellow.colors')
+
+-- vim highlights -------------------------------------------------------------
+highlight("CursorLineNr", { fg = '#FFFFFF', bold = true })
+
+-- diagnostics
+-- highlight('DiagnosticError', { fg = c.cyan })
+-- highlight('DiagnosticWarn', { fg = c.red })
+-- highlight('DiagnosticInfo', { fg = c.yellow })
+-- highlight('DiagnosticHint', { fg = c.blue })
+-- highlight('DiagnosticUnderlineError', { fg = c.cyan })
+-- highlight('DiagnosticUnderlineWarn', { fg = c.red })
+-- highlight('DiagnosticUnderlineInfo', { fg = c.yellow })
+-- highlight('DiagnosticUnderlineHint', { fg = c.blue })
+
+-- plugin highlights ----------------------------------------------------------
+-- telescope
+highlight('TelescopeMatching', { bg = '#1B1B1D' })
+highlight('TelescopeNormal', { bg = '#131314' })
+
+highlight('TelescopePreviewBorder', { bg = '#161617' })
+highlight('TelescopePreviewNormal', { bg = '#161617' })
+highlight('TelescopePreviewTitle', { bg = '#161617', fg = '#161617' })
+
+highlight('TelescopePromptBorder', { bg = '#1B1B1D' })
+highlight('TelescopePromptNormal', { bg = '#1B1B1D' })
+highlight('TelescopePromptPrefix', { bg = '#1B1B1D' })
+highlight('TelescopePromptTitle', { bg = '#1B1B1D'})
+
+highlight('TelescopeResultsBorder', { bg = '#131314' })
+highlight('TelescopeResultsNormal', { bg = '#131314' })
+highlight('TelescopeResultsTitle', { bg = '#131314', fg = '#131314' })
+
+highlight('TelescopeSelection', { bg = '#161617' })
+highlight('TelescopeSelectionCaret', { bg = '#161617', fg = '#F5A191'})
+
+-- indent blankline
+highlight('IndentBlanklineIndent1', { bg = '#161617' })
+highlight('IndentBlanklineIndent2', { bg = '#121212' })
+
+-- alpha
+highlight('AlphaHeader', { fg = '#AAA0CE' })
+
+-- fidget
+highlight('FidgetTask', { fg = '#ffffff' })