Skip to content

weird discoloration issue when used in tandem with treesitter #99

@andykais

Description

@andykais

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",
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions