summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-07-07 19:24:36 +0200
committerChristian Brabandt <cb@256bit.org>2024-07-07 19:24:36 +0200
commitb9bbf1f04439a6cdb6d376c94852721e4ebf8300 (patch)
tree2b88d2c2ccd536d4c947ffa11a34f66f3ea9ba30 /runtime/doc
parentb975ddfdf96644b8df808415dee36f99abd48753 (diff)
runtime(doc): clarify how to re-init csv syntax file
fixes: #15161 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/syntax.txt17
-rw-r--r--runtime/doc/tags1
2 files changed, 17 insertions, 1 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index ee8d689e95..acc4783c80 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -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*
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 3e524eb0b1..e72f73927d 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -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*