rainbow_csv.nvim icon indicating copy to clipboard operation
rainbow_csv.nvim copied to clipboard

nvim-treesitter highlighting conflicts

Open cameron-wags opened this issue 2 years ago • 1 comments

If you use nvim-treesitter highlight along with this plugin, you might encounter some highlighting issues with csv or tsv file types.

nvim-treesitter's configuration has a couple of options that can help:

  • disable highlighting for languages - :h nvim-treesitter-highlight-mod
  • disable parsers entirely for languages - :h nvim-treesitter-quickstart
  • enable additional_vim_regex_highlighting (I don't recommend this but it is an option)

cameron-wags avatar Aug 29 '23 04:08 cameron-wags

I had this issue as well, and disabling TS highlighting for CSV solved it. I think this would be a good candidate to add to the readme based on how common Treesitter is for nvim users.

akozy1 avatar Jun 17 '25 13:06 akozy1