Skip to content

Commit

Permalink
fixup! refactor: use nvim_set_hl to speed up startup time
Browse files Browse the repository at this point in the history
  • Loading branch information
cljoly committed May 10, 2022
1 parent 25d4b2e commit 4077c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/onedark/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ local function vim_highlights_nvim070(highlights)
bg = group_settings.bg or "none",
sp = group_settings.sp or "none",
}
if not group_settings.fmt == nil then
for setting in vim.split(group_settings, ",") do
if group_settings.fmt then
for _, setting in pairs(vim.split(group_settings.fmt, ",")) do
settings[setting] = 1
end
end
Expand Down

0 comments on commit 4077c65

Please sign in to comment.