From 7195d331afbaae83fd58bea728353dd13b23db11 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 8 Jul 2024 06:17:46 +0800 Subject: 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 --- runtime/doc/syntax.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'runtime/doc') 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* -- cgit From 7b5364166c0a1696c510d61e74e1808f305c2de7 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 8 Jul 2024 06:18:49 +0800 Subject: vim-patch:fbbabbc: runtime(doc): add page-scrolling keys to index.txt Also add the newly documented keys from commit 6a4afb1efca1bac5fbc0281804591cf0a52b2d81 to index.txt which was forgotten. related: vim/vim#15107 https://github.com/vim/vim/commit/fbbabbca3319ea1b358c08f250b4582421c40600 Co-authored-by: Christian Brabandt --- runtime/doc/index.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 05c8b94d94..384b133d4e 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -196,10 +196,12 @@ tag char note action in Normal mode ~ || 1 go to N newer entry in jump list |CTRL-I| CTRL-I 1 same as || 1 same as "j" +|| 1 same as CTRL-F |CTRL-J| CTRL-J 1 same as "j" CTRL-K not used |CTRL-L| CTRL-L redraw screen || 1 cursor to the first CHAR N lines lower +|| 1 same as CTRL-F |CTRL-M| CTRL-M 1 same as |CTRL-N| CTRL-N 1 same as "j" |CTRL-O| CTRL-O 1 go to N older entry in jump list @@ -272,9 +274,11 @@ tag char note action in Normal mode ~ |star| * 1 search forward for the Nth occurrence of the ident under the cursor |+| + 1 same as +|| 1 same as CTRL-F |,| , 1 repeat latest f, t, F or T in opposite direction N times |-| - 1 cursor to the first CHAR N lines higher +|| 1 same as CTRL-B |.| . 2 repeat last change with count replaced with N |/| /{pattern} 1 search forward for the Nth occurrence of -- cgit From 435ce9921374055ed2103212bb102e2506c1e2e3 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 8 Jul 2024 06:19:12 +0800 Subject: vim-patch:9.1.0540: Unused assignment in sign_define_cmd() Problem: Unused assignment in sign_define_cmd() Solution: Remove the assignment. Also document the "priority" flag of sign_define(). (zeertzjq) closes: vim/vim#15169 https://github.com/vim/vim/commit/fc3f5dba52099d82ccc8bfe309d58a6fac01373d --- runtime/doc/builtin.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/doc') diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 3def778e58..648598fb3f 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -7063,6 +7063,7 @@ sign_define({list}) icon full path to the bitmap file for the sign. linehl highlight group used for the whole line the sign is placed in. + priority default priority value of the sign numhl highlight group used for the line number where the sign is placed. text text that is displayed when there is no icon -- cgit