navarasu / onedark.nvim

One dark and light colorscheme for neovim >= 0.5.0 written in lua based on Atom's One Dark and Light theme. Additionally, it comes with 5 color variant styles
MIT License
1.62k stars 164 forks source link

Cannot disable italic for comments #44

Closed ojroques closed 2 years ago

ojroques commented 2 years ago

Hello,

After #42 was merged, I've tried disabling italic for comments like so:

-- init.lua

require 'paq' {
  {'navarasu/onedark.nvim'},
}

require('onedark').setup {
  code_style = {comments = 'none'},
}

vim.opt.termguicolors = true
vim.cmd 'colorscheme onedark'

But nothing happens, comments are still in italic. Using the old config way works though. @xeluxee maybe you'll be interested in this.

ojroques commented 2 years ago

Nevermind, I've realized I did not update the plugin on the concerned machine :)