runtime(doc): clarify how to re-init csv syntax file Commit: https://github.com/vim/vim/commit/b9bbf1f04439a6cdb6d376c94852721e4ebf8300 Author: Christian Brabandt <c...@256bit.org> Date: Sun Jul 7 19:24:36 2024 +0200
runtime(doc): clarify how to re-init csv syntax file fixes: https://github.com/vim/vim/issues/15161 Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index ee8d689e9..acc4783c8 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 3e524eb0b..e72f73927 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* -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sQViE-0092bA-Ab%40256bit.org.