You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting g:rainbow_comment_prefix to #. when I put the cursor on a comment line, rainbow_csv reports "The number of fields in header and this (comment) line are different."
I'd expect it to ignore the comment lines.
The text was updated successfully, but these errors were encountered:
Thanks! They are actually ignored but only under some specific conditions, to work as expected you need to enable highlighting not by setting set ft=csv but by using :RainbowDelim command. This is because the current implementation has comment prefix encoded into ft value and csv with # comment will have filetype rcsv_2c_quoted_23. I don't remember why I decided to implement it this way, but there was some reasoning behind it. Maybe I will rewrite this logic later to store comment prefix separately from the filetype.
After setting g:rainbow_comment_prefix to #. when I put the cursor on a comment line, rainbow_csv reports "The number of fields in header and this (comment) line are different."
I'd expect it to ignore the comment lines.
The text was updated successfully, but these errors were encountered: