nord.nvim icon indicating copy to clipboard operation
nord.nvim copied to clipboard

Support for italic comments via global setting

Open peteryates opened this issue 3 years ago • 1 comments

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.

peteryates avatar Aug 25 '21 09:08 peteryates

^ 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 })

jcypret avatar Mar 15 '24 22:03 jcypret