-
Notifications
You must be signed in to change notification settings - Fork 298
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
CSV.vim plugin and LargeFile plugin missing, why? #239
Comments
I think we had csv.vim but it caused performance issues when editign csv, and generally didn't to much good. As for LargeFile, nobody suggested it yet. |
With LargeFile, you won't encounter performance issues with resource-intensive extensions such as CSV.vim. CSV.vim is brilliant but you need to know how to use it, like not using intensive commands such as ArrangeColumn with large files. |
I tried to add chrisbra/csv.vim but it makes loading big csv files considerably slower (even with LargeFile) Also, I tries LargeFile plugin for 800mb csv file, but it doesn't make any difference. |
author here. That solely depends on your csv file and the feature (e.g. auto-arranging) you use for it. But in general, it has to parse the csv file to setup the syntax rules, so depending on your data (and attributes) this is kind to be expected. But this should only affect csv files and no other ones. |
Sorry, I can't include in vim-polyglot that makes file loading considerably slower by default. Ideally you'd (@chrisbra) modify csv syntax plugin so it checks whether file has more than few megabytes and prevent parsing in such case. Then I'd have no problems including it. CSV is an unfortunate exception from other languages as their files tend to be huge, you don't store tenths megabytes of data in .py or .rb file for example. That's why we need this "feature". |
I forgot to document how to make the plugin faster, done now. Setting at least |
OK, let me check |
@sheerun just curious if this one fell through the cracks 😉 |
I tried it with:
and largefile plugin, but loading of large csv files is still slow, sorry |
Hmm on second thought it's something different than these two as without them loading is slow as well... |
Okay, I've checked once more and it doesn't slow down anything, I've merged csv plugin :) thank you |
I would like to understand why this bundle does not contain CSV.vim plugin and LargeFile plugin.
Is there something to edit CSV files or disable extensions when editing large files?
The text was updated successfully, but these errors were encountered: