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

fixes: #15161

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-07-07 19:24:36 +02:00
parent b975ddfdf9
commit b9bbf1f044
2 changed files with 17 additions and 1 deletions

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 03
*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 06
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1221,6 +1221,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*

View File

@ -7268,6 +7268,7 @@ ft-context-settings ft_context.txt /*ft-context-settings*
ft-cpp-syntax syntax.txt /*ft-cpp-syntax*
ft-csh-syntax syntax.txt /*ft-csh-syntax*
ft-css-omni insert.txt /*ft-css-omni*
ft-csv-syntax syntax.txt /*ft-csv-syntax*
ft-cweb-syntax syntax.txt /*ft-cweb-syntax*
ft-cynlib-syntax syntax.txt /*ft-cynlib-syntax*
ft-dart-syntax syntax.txt /*ft-dart-syntax*