nord.nvim
nord.nvim copied to clipboard
Support for italic comments via global setting
I love this colour scheme and have been using it for a few weeks, thanks. There's only one little thing missing from the original Nord theme that I think is very useful, the g:nord_italic_comments
setting.
It was implemented here.
^ agree
For anyone else looking for a workaround, this seems to do the trick:
vim.cmd([[colorscheme nord]])
-- italicize comments
local hl = vim.api.nvim_get_hl_by_name("@comment", true)
vim.api.nvim_set_hl(0, "@comment", { fg = hl.foreground, italic = true })