don't make comments italic

This commit is contained in:
Christoph J. Scherr 2024-07-10 17:06:49 +02:00
parent 90cabc3c95
commit b27df7a3bb
2 changed files with 10 additions and 2 deletions

View File

@ -53,3 +53,11 @@ vim.api.nvim_create_autocmd('FileType', {
vim.opt_local.formatoptions = '' vim.opt_local.formatoptions = ''
end, end,
}) })
-- tweak colorschemes and highlights after loading a new colorscheme
vim.api.nvim_create_autocmd('ColorScheme', {
group = augroup,
callback = function()
vim.cmd [[highlight Comment gui=NONE]] -- no italics for comments
end,
})

View File

@ -2,6 +2,6 @@
-- --
-- Themery block -- Themery block
-- This block will be replaced by Themery. -- This block will be replaced by Themery.
vim.cmd("colorscheme tokyonight-storm") vim.cmd("colorscheme kanagawa-wave")
vim.g.theme_id = 10 vim.g.theme_id = 13
-- end themery block -- end themery block