Skip to content

Commit

Permalink
Disable italics in nvim
Browse files Browse the repository at this point in the history
Windows terminal has a font rendering bug for the last character in a
line if it is italic. This issue claims it's resolved, but it is not:

<microsoft/terminal#9381>

Confirmed this issue doesn't occur in XFCE terminal with the same
JetBrains NF.
  • Loading branch information
spenserlee committed Jun 23, 2023
1 parent 9e4d80d commit 2167798
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ require("lazy").setup({
lazy = false,
priority = 1000,
config = function()
vim.cmd([[colorscheme gruvbox]])
require("gruvbox").setup({
italic = {
strings = false,
comments = true,
operators = true,
folds = true,
}
})
vim.cmd("colorscheme gruvbox")
end
},
-- TODO: how to configure multiple colorschemes and switch between them nicely?
Expand Down

0 comments on commit 2167798

Please sign in to comment.