Merge pull request #7 from trevorwhitney/fix-custom-hl-groups
Fix custom hl groups
This commit is contained in:
commit
975654bce6
@ -6,11 +6,10 @@ local M = {}
|
||||
|
||||
---@param opts FlexokiOptions
|
||||
M.set_highlights = function(opts)
|
||||
|
||||
local highlight_groups = highlights.groups()
|
||||
|
||||
-- Set users highlight_group customisations.
|
||||
if not opts.highlight_groups == nil then
|
||||
if opts.highlight_groups ~= nil then
|
||||
for group, highlight in pairs(opts.highlight_groups) do
|
||||
highlight_groups[group] = highlight
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user