-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alignment Issues in Nvim #46
Comments
Thank you for the bug report.
But I don't completely understand what is the "index number of the data."? is it a part of csv file itself or is this some sort of Neovim feature that adds these numbers? is '4' in the last line an index number too? why is it aligned further to the left than the other index numbers? |
Hi,
I am facing a slight issue, would appreciate your thoughts on this. if say I've a CSV data which contains a index field which would mean header would have trailing comma in it. Take a look in the following example:
1,2&3 is the index number of the data.
![Screenshot 2023-11-15 at 12 02 10 PM](https://private-user-images.githubusercontent.com/130357477/283024417-510526c5-ba05-4207-9476-f8cdb87dd880.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTc4MzYsIm5iZiI6MTcxOTE5NzUzNiwicGF0aCI6Ii8xMzAzNTc0NzcvMjgzMDI0NDE3LTUxMDUyNmM1LWJhMDUtNDIwNy05NDc2LWY4Y2RiODdkZDg4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNFQwMjUyMTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xOWM5ZDFmNzVkZWNmNjUzM2YzOGZlMTU4MWQ1YmMxMWExYjRhNGFjNTZkZTUzMWRhNjcwZThkNzRjMjliYmNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.TnebSu7xg2k-irV6L0-ftCu8k-w36z5QI3QMfdjNzag)
Plugin is able to detect the correct order of colours when I'm not trying to align it. As we can see in the picture, it is colouring the index in the separate colour. But what happens when I try to align the data is:
It somehow align the index into first column and last column is orphan without any header for it. It kind of ignores the first comma of the header. VSCode rainbow plugin handles this properly.
I hope I explained the issue rightfully. Do let me know if I missed anything. Will put in more detail if required.
Thanks
The text was updated successfully, but these errors were encountered: