nord_italic = false not working
bmuehl opened this issue · comments
Hello @emilio ,
any chance you can take a look on it ?
the option vim.g.nord_italic = false
work for you ?
Hey, sure, thanks for the ping @Hierosme. It works here and I use it.
@halbedel, are you setting vim.g.nord_italic = false
before calling colorscheme nord
?
My PR changed the behavior to check nord_italic
as soon as the theme is loaded, while before it was checked when loadSyntax()
was called. If somehow you were setting nord_italic
after the theme loads but before loadSyntax()
, then the option might seem to have stopped working.
The fix in that case is to set vim.g.nord_italic = false
earlier in your vim config.
Thanks, my configuration is working now. Just had to move the colorscheme nord
all the way to the end :)
-- set colorscheme with protected call in case it isn't installed
local status, nord = pcall(require, "nord")
if not status then
print("Colorscheme not found!") -- print error if colorscheme not installed
return
end
vim.g.nord_disable_background = true
vim.g.nord_italic = false
nord.set()
vim.cmd([[colorscheme nord]])