zenbones-theme / zenbones.nvim

🪨 A collection of contrast-based Vim/Neovim colorschemes
MIT License
657 stars 46 forks source link

Unable to disable `italic_comments` #90

Closed Blake-LeBlanc closed 1 year ago

Blake-LeBlanc commented 1 year ago

Great set of colorschemes! I'm having trouble disabling italic_comments with the config options shown in the documentation. What am I doing wrong? I've tried both within the vim.cmd block and as lua.

Thank you!

colorschemes.lua

vim.cmd [[
try
  set background=light
  ...
  colorscheme zenbones

catch /^Vim\%((\a\+)\)\=:E185/
  colorscheme default
  set background=dark
endtry

" let g:zenbones = {
"   italic_comments = v:false
" }

" let g:zenbones_italic_comments = v:false

]]

vim.g.zenbones = { italic_comments = false }
mcchrish commented 1 year ago

Try setting the config first before calling colorscheme.

let g:zenbones_italic_comments = v:false
colorscheme zenbones
Blake-LeBlanc commented 1 year ago

Try setting the config first before calling colorscheme.

let g:zenbones_italic_comments = v:false
colorscheme zenbones

Great, thank you @mcchrish !