diff options
author | Squibid <me@zacharyscheiman.com> | 2023-08-11 20:43:58 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-08-11 20:43:58 -0400 |
commit | 590f0309995a569954fc94b1d5df6b6391ead9fa (patch) | |
tree | cfca10f62e189018c0bb7944d446423e6397f375 /lua/core/highlight.lua | |
parent | b8d70ed288b3b542b7bb24609384aa540339b2da (diff) | |
download | nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.gz nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.tar.bz2 nvim-590f0309995a569954fc94b1d5df6b6391ead9fa.zip |
kitchen sink cause I'm too lazy to sort through this junk
Diffstat (limited to 'lua/core/highlight.lua')
-rw-r--r-- | lua/core/highlight.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/core/highlight.lua b/lua/core/highlight.lua index c90fd3f..716c5ed 100644 --- a/lua/core/highlight.lua +++ b/lua/core/highlight.lua @@ -1,4 +1,5 @@ local highlight = function(group, opts, space) + if not pcall(require, "mellow") then return end space = space or 0 if type(group) == 'table' then @@ -10,7 +11,7 @@ local highlight = function(group, opts, space) end end -local c = require('mellow.colors').dark +if pcall(require, "mellow") then c = require('mellow.colors').dark end -- vim highlights ------------------------------------------------------------- highlight('CursorLineNr', { bg = c.bg_dark, fg = c.fg, bold = true }) |