zenbones-theme / zenbones.nvim

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

weird discoloration issue when used in tandem with treesitter #99

Open andykais opened 1 year ago

andykais commented 1 year ago

screenshot(1086)

Hi, I am seeing some weird discoloration when using the zenbones theme. Moving my cursor around the discolored lines will occasionally cause them to disappear.

Using zsh, i3wm, urxvt. Here is a minimal repro config file:

require('packer').startup(function(use)
  use { 'mcchrish/zenbones.nvim', requires = 'rktjmp/lush.nvim' } -- light theme
  use { 'hoob3rt/lualine.nvim', requires = {'kyazdani42/nvim-web-devicons' } }

end)

lualine = require('lualine')
vim.o.termguicolors = 1
vim.cmd 'set background=light'
vim.g.zenbones_compat = 1
vim.cmd 'colorscheme zenbones'

lualine.setup {
  options = {
    theme = 'sonokai',
    icons_enabled = true,
  }
}

require('nvim-treesitter.configs').setup {
  highlight = {
    enable = true,
    disable = {},
    -- additional_vim_regex_highlighting = true,
  },
  indent = {
    enable = true,
    disable = { "yaml" },
  },
  ensure_installed = {
    "vim",
    "toml",
    "json",
    "json5",
    "yaml",
    "html",
    "css",
    "javascript",
    "svelte",
    "typescript",
    "python",
    "java",
  }
}