aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-07-08 06:17:46 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-07-08 06:17:51 +0800
commit7195d331afbaae83fd58bea728353dd13b23db11 (patch)
treedfa33b136aae47d0a201830471f6faeb1d4de950
parente5ff3020330e7c961299b991448653a46817188f (diff)
downloadrneovim-7195d331afbaae83fd58bea728353dd13b23db11.tar.gz
rneovim-7195d331afbaae83fd58bea728353dd13b23db11.tar.bz2
rneovim-7195d331afbaae83fd58bea728353dd13b23db11.zip
vim-patch:b9bbf1f: runtime(doc): clarify how to re-init csv syntax file
fixes: vim/vim#15161 https://github.com/vim/vim/commit/b9bbf1f04439a6cdb6d376c94852721e4ebf8300 Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/doc/syntax.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index c95b6d5584..07a546cfdd 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -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*