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
Auto-detect comments #159
Comments
How should the plugin detect comments automatically? It uses the |
I thought maybe if all lines that don't contain the column separator start with the same character, this is the start-of-comment ? Anyway I tried |
You need to re-init the plugin. Run CSVInit after changing the comment character. |
Well, this results in:
and then when pressing a cursor key:
|
Hmm missing space I believe in the commentstring option. Will fix it tomorrow.
… Am 09.03.2020 um 21:55 schrieb Xavier Bestel ***@***.***>:
Well, this results in:
Error detected while processing function <SNR>249_CheckSaneSearchPattern:
line 37:
E684: list index out of range: 0
and then when pressing a cursor key:
Error detected while processing function csv#MoveCol[6]..csv#MaxColumns:
line 12:
E684: list index out of range: 0
E116: Invalid arguments for function escape(b:csv_cmt[0], '\\')
line 13:
E121: Undefined variable: pat
Error detected while processing function csv#MoveCol[9]..CSVWidth[21]..csv#CalculateColumnWidth[11]..csv#MaxColumns:
line 12:
E684: list index out of range: 0
E116: Invalid arguments for function escape(b:csv_cmt[0], '\\')
Error detected while processing function csv#MoveCol[9]..CSVWidth:
line 21:
E171: Missing :endif
Error detected while processing function csv#MoveCol:
line 9:
E171: Missing :endif
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
That obviously needs to be
That looks wrong. Please show the output of the following commands:
Also, what Vim version is this? |
I'm using spacevim with
|
Hi,
I have a CSV file like this:
Would it be possible to have the comment somehow auto-detected ? Or at least a command to inform the plugin that
#
is a start-of-comment ?The text was updated successfully, but these errors were encountered: