# HG changeset patch # User Bram Moolenaar # Date 1638010809 -3600 # Node ID bb2175e5ccee869baa5053a762ef26537571ed72 # Parent 0507d47d769fea98948e12ed7fee208f45e3f801 Update runtime files. Commit: https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 Author: Bram Moolenaar Date: Sat Nov 27 10:57:26 2021 +0000 Update runtime files. diff --git a/runtime/colors/tools/check_colors.vim b/runtime/colors/tools/check_colors.vim --- a/runtime/colors/tools/check_colors.vim +++ b/runtime/colors/tools/check_colors.vim @@ -226,7 +226,13 @@ fu! Result(err) endif endfu -call Test_check_colors() - -let &cpo = s:save_cpo -unlet s:save_cpo +try + call Test_check_colors() +catch + echohl ErrorMsg + echomsg v:exception + echohl NONE +finally + let &cpo = s:save_cpo + unlet s:save_cpo +endtry diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.2. Last change: 2021 Aug 06 +*cmdline.txt* For Vim version 8.2. Last change: 2021 Nov 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -925,9 +925,11 @@ Note: these are typed literally, they ar *:* ** When executing a ":source" command, is replaced with the file name of the sourced file. *E498* - When executing a function, is replaced with the call stack, - as with (this is for backwards compatibility, using - is preferred). + When executing a legacy function, is replaced with the call + stack, as with (this is for backwards + compatibility, using is preferred). + In Vim9 script using in a function gives error + *E1245* . Note that filename-modifiers are useless when is not used inside a script. *:* ** diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -9770,6 +9770,7 @@ setbufline({buf}, {lnum}, {text}) *set For the use of {buf}, see |bufname()| above. {lnum} is used like with |setline()|. + Use "$" to refer to the last line in buffer {buf}. When {lnum} is just below the last line the {text} will be added below the last line. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.2. Last change: 2021 Nov 18 +*options.txt* For Vim version 8.2. Last change: 2021 Nov 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 8.2. Last change: 2021 Sep 09 +*repeat.txt* For Vim version 8.2. Last change: 2021 Nov 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -792,6 +792,10 @@ won't be very helpful. There is a separate command-line history for debug mode. +NOTE: In Vim9 script, if a command is written at the script level and +continues on the next line, not using the old way with a backslash for line +continuation, only the first line is printed before the debugging prompt. + The line number for a function line is relative to the start of the function. If you have trouble figuring out where you are, edit the file that defines the function in another Vim, search for the start of the function and do diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt --- a/runtime/doc/sign.txt +++ b/runtime/doc/sign.txt @@ -148,6 +148,10 @@ See |sign_define()| for the equivalent V texthl={group} Highlighting group used for the text item. + culhl={group} + Highlighting group used for the text item when the cursor is + on the same line as the sign and 'cursorline' is enabled. + Example: > :sign define MySign text=>> texthl=Search linehl=DiffText < @@ -173,13 +177,6 @@ See |sign_getdefined()| for the equivale :sign list {name} Lists one defined sign and its attributes. - culhl={group} - Highlighting group used for the text item when the cursor is - on the same line as the sign and 'cursorline' is enabled. - - Example: > - :sign define MySign text=>> texthl=Search linehl=DiffText -< PLACING SIGNS *:sign-place* *E158* diff --git a/runtime/doc/tags b/runtime/doc/tags --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -3999,6 +3999,7 @@ E1239 eval.txt /*E1239* E124 eval.txt /*E124* E1243 options.txt /*E1243* E1244 message.txt /*E1244* +E1245 cmdline.txt /*E1245* E125 eval.txt /*E125* E126 eval.txt /*E126* E127 eval.txt /*E127* @@ -7321,7 +7322,9 @@ hl-Cursor syntax.txt /*hl-Cursor* hl-CursorColumn syntax.txt /*hl-CursorColumn* hl-CursorIM syntax.txt /*hl-CursorIM* hl-CursorLine syntax.txt /*hl-CursorLine* +hl-CursorLineFold syntax.txt /*hl-CursorLineFold* hl-CursorLineNr syntax.txt /*hl-CursorLineNr* +hl-CursorLineSign syntax.txt /*hl-CursorLineSign* hl-DiffAdd syntax.txt /*hl-DiffAdd* hl-DiffChange syntax.txt /*hl-DiffChange* hl-DiffDelete syntax.txt /*hl-DiffDelete* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.2. Last change: 2021 Nov 14 +*todo.txt* For Vim version 8.2. Last change: 2021 Nov 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,9 +38,7 @@ browser use: https://github.com/vim/vim/ *known-bugs* -------------------- Known bugs and current work ----------------------- -mark ends up on last byte of char. (#9047) - -Delete runtime/rgb.txt after a while +refactor ex_let_one() to subfunctions. Vim9 - Make everything work: - "filter #pat# ls" should work, #pat# is not a comment @@ -222,8 +220,6 @@ Terminal emulator window: - When 'encoding' is not utf-8, or the job is using another encoding, setup conversions. -Include patch #6290: recognize shell directory change. - When using 'cryptmethod' xchaha20 the undo file is not encrypted. Need to handle extra bytes. @@ -233,6 +229,8 @@ Fails in line 64 of Ch_communicate, no e Patch for Template string: #4634 Have another look at the implementation. +Add expanding