diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-26 22:35:56 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:35 -0400 |
commit | e257aff016edc1d240d66c86e84e1f10ad972fd1 (patch) | |
tree | f3a4c32b322c3b93f3423ec801784101f1101bc5 /runtime | |
parent | 278ca5f456508fe3f680b718174c4ba209e49822 (diff) | |
download | rneovim-e257aff016edc1d240d66c86e84e1f10ad972fd1.tar.gz rneovim-e257aff016edc1d240d66c86e84e1f10ad972fd1.tar.bz2 rneovim-e257aff016edc1d240d66c86e84e1f10ad972fd1.zip |
vim-patch:bc93cebb692f
Update runtime files.
https://github.com/vim/vim/commit/bc93cebb692f47488d66f078d1728031e9be35e7
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/cmdline.txt | 1 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 19 | ||||
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 |
3 files changed, 15 insertions, 7 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index b8278b6f0b..f7c9a2afbe 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -553,6 +553,7 @@ followed by another Vim command: :command :cscope :debug + :eval :folddoopen :folddoclosed :function diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 8baaef54b3..c907e23a62 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5978,6 +5978,10 @@ match({expr}, {pat} [, {start} [, {count}]]) *match()* The 'ignorecase' option is used to set the ignore-caseness of the pattern. 'smartcase' is NOT used. The matching is always done like 'magic' is set and 'cpoptions' is empty. + Note that a match at the start is preferred, thus when the + pattern is using "*" (any number of matches) it tends to find + zero matches at the start instead of a number of matches + further down in the text. *matchadd()* *E798* *E799* *E801* *E957* matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]]) @@ -10225,11 +10229,11 @@ text... ":endtry" is reached thereafter, the next (dynamically) surrounding ":try" is checked for a corresponding ":finally" etc. Then the script - processing is terminated. (Whether a function - definition has an "abort" argument does not matter.) + processing is terminated. Whether a function + definition has an "abort" argument does not matter. Example: > - :try | edit too much | finally | echo "cleanup" | endtry - :echo "impossible" " not reached, script terminated above + try | call Unknown() | finally | echomsg "cleanup" | endtry + echomsg "not reached" < Moreover, an error or interrupt (dynamically) inside ":try" and ":endtry" is converted to an exception. It @@ -10246,8 +10250,8 @@ text... error exception is not caught, always beginning with the error number. Examples: > - :try | sleep 100 | catch /^Vim:Interrupt$/ | endtry - :try | edit | catch /^Vim(edit):E\d\+/ | echo "error" | endtry + try | sleep 100 | catch /^Vim:Interrupt$/ | endtry + try | edit | catch /^Vim(edit):E\d\+/ | echo "error" | endtry < *:cat* *:catch* *E603* *E604* *E605* :cat[ch] /{pattern}/ The following commands until the next |:catch|, @@ -10415,6 +10419,9 @@ text... these are hard to recognize and therefore not to be used. + The command cannot be followed by "|" and another + command, since "|" is seen as part of the expression. + *:exe* *:execute* :exe[cute] {expr1} .. Executes the string that results from the evaluation diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 907138c60b..99819c93ea 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -2,7 +2,7 @@ " " Author: Bram Moolenaar " Copyright: Vim license applies, see ":help license" -" Last Change: 2019 Dec 11 +" Last Change: 2020 Feb 19 " " WORK IN PROGRESS - Only the basics work " Note: On MS-Windows you need a recent version of gdb. The one included with |