vim-patch:b9bbf1f: runtime(doc): clarify how to re-init csv syntax file

fixes: vim/vim#15161

b9bbf1f044

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq 2024-07-08 06:17:46 +08:00
parent e5ff302033
commit 7195d331af

View File

@ -752,6 +752,21 @@ will be classified as tcsh, UNLESS the "filetype_csh" variable exists. If the
"filetype_csh" variable exists, the filetype will be set to the value of the
variable.
CSV *ft-csv-syntax*
If you change the delimiter of the CSV file, the syntax highlighting will be
now longer match the changed file content. You will need to unlet the
following variable: >
:unlet b:csv_delimiter
And afterwards save and reload the file: >
:w
:e
Now the syntax engine should determine the newly changed csv delimiter.
CYNLIB *cynlib.vim* *ft-cynlib-syntax*