From: Bram Moolenaar Date: Sat, 7 Sep 2019 14:24:12 +0000 (+0200) Subject: Update runtime files X-Git-Tag: v8.1.2004~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30e9b3c4256710781c3bd64efb33f138e4e074b3;p=vim Update runtime files --- diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 95686cf5a..22b4e6fdf 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.1. Last change: 2019 Aug 18 +*cmdline.txt* For Vim version 8.1. Last change: 2019 Sep 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -909,8 +909,7 @@ Note: these are typed literally, they are not special keys! *%:8* *%:p* *%:.* *%:~* *%:h* *%:t* *%:r* *%:e* *%:s* *%:gs* *%:S* The file name modifiers can be used after "%", "#", "#n", "", "", "" or "". They are also used with the |fnamemodify()| function. -These are not available when Vim has been compiled without the |+modify_fname| -feature. + These modifiers can be given, in this order: :p Make file name a full path. Must be the first modifier. Also changes "~/" (and "~user/" for Unix and VMS) to the path for diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index fc7a930eb..40c2adb89 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -100,7 +100,7 @@ g CTRL-G Prints the current position of the cursor in five :buffers :files :ls List all the currently known file names. See - 'windows.txt' |:files| |:buffers| |:ls|. + |windows.txt| |:files| |:buffers| |:ls|. Vim will remember the full path name of a file name that you enter. In most cases when the file name is displayed only the name you typed is shown, but @@ -1233,7 +1233,7 @@ The syntax is best shown via some examples: > < Open the browser in the C:/bar directory, with the current buffer filename as default, and save the buffer under the filename chosen. -Also see the |'browsedir'| option. +Also see the 'browsedir' option. For versions of Vim where browsing is not supported, the command is executed unmodified. diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 091ffb221..3563d8818 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 8.1. Last change: 2019 Aug 21 +*index.txt* For Vim version 8.1. Last change: 2019 Sep 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -23,7 +23,7 @@ to look for deleting something, use: "/delete". 5. Terminal-Job mode |terminal-job-index| 6. EX commands |ex-cmd-index| -For an overview of options see help.txt |option-list|. +For an overview of options see |option-list|. For an overview of built-in functions see |functions|. For a list of Vim variables see |vim-variable|. For a complete listing of all help items see |help-tags|. @@ -1128,6 +1128,8 @@ The commands are sorted on the non-optional part of their name. tag command action ~ ------------------------------------------------------------------------------ +|:| : nothing +|:range| :{range} go to last line in {range} |:!| :! filter lines or execute an external command |:!!| :!! repeat last ":!" command |:#| :# same as ":number" diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index f35134a7a..cff3b9e52 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 8.1. Last change: 2019 Sep 03 +*popup.txt* For Vim version 8.1. Last change: 2019 Sep 04 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt index 601914fe2..e66bbcb17 100644 --- a/runtime/doc/sign.txt +++ b/runtime/doc/sign.txt @@ -1,4 +1,4 @@ -*sign.txt* For Vim version 8.1. Last change: 2019 Jul 21 +*sign.txt* For Vim version 8.1. Last change: 2019 Sep 06 VIM REFERENCE MANUAL by Gordon Prieur diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 7597662e3..1626bf19b 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -152,8 +152,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly. This can be used to find out where time is spent while loading your .vimrc, plugins and opening the first file. When {fname} already exists new messages are appended. - (Only available when compiled with the |+startuptime| - feature). + {only available when compiled with the |+startuptime| + feature} *--literal* --literal Take file names literally, don't expand wildcards. Not needed @@ -311,10 +311,10 @@ a slash. Thus "-R" means recovery and "-/R" readonly. -l Lisp mode. Sets the 'lisp' and 'showmatch' options on. *-A* --A Arabic mode. Sets the 'arabic' option on. (Only when +-A Arabic mode. Sets the 'arabic' option on. {only when compiled with the |+arabic| features (which include |+rightleft|), otherwise Vim gives an error message - and exits.) + and exits} *-F* -F This was used for Farsi mode, which has been removed. @@ -322,8 +322,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly. *-H* -H Hebrew mode. Sets the 'hkmap' and 'rightleft' options on. - (Only when compiled with the |+rightleft| feature, otherwise - Vim gives an error message and exits.) + {only when compiled with the |+rightleft| feature, otherwise + Vim gives an error message and exits} *-V* *verbose* -V[N] Verbose. Sets the 'verbose' option to [N] (default: 10). diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 8bea28bf6..afad1759f 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1746,7 +1746,7 @@ There are several html preprocessor languages out there. html.vim has been written such that it should be trivial to include it. To do so add the following two lines to the syntax coloring file for that language (the example comes from the asp.vim file): - +> runtime! syntax/html.vim syn cluster htmlPreproc add=asp diff --git a/runtime/doc/tags b/runtime/doc/tags index 2f06eeb77..e343579b9 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -6846,6 +6846,7 @@ getfperm() eval.txt /*getfperm()* getfsize() eval.txt /*getfsize()* getftime() eval.txt /*getftime()* getftype() eval.txt /*getftype()* +getimstatus() eval.txt /*getimstatus()* getjumplist() eval.txt /*getjumplist()* getlatestvimscripts-install pi_getscript.txt /*getlatestvimscripts-install* getline() eval.txt /*getline()* @@ -8256,6 +8257,7 @@ popup-callback popup.txt /*popup-callback* popup-close popup.txt /*popup-close* popup-examples popup.txt /*popup-examples* popup-filter popup.txt /*popup-filter* +popup-filter-mode popup.txt /*popup-filter-mode* popup-function-details popup.txt /*popup-function-details* popup-functions popup.txt /*popup-functions* popup-intro popup.txt /*popup-intro* diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt index df12f83e7..f637d4caf 100644 --- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -341,7 +341,7 @@ will move accordingly. When text is deleted and a text property no longer includes any text, it is deleted. However, a text property that was defined as zero-width will remain, unless the whole line is deleted. -` *E275* + *E275* When a buffer is unloaded, all the text properties are gone. There is no way to store the properties in a file. You can only re-create them. When a buffer is hidden the text is preserved and so are the text properties. It is diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 1e54e6575..bb3b927ff 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.1. Last change: 2019 Aug 30 +*todo.txt* For Vim version 8.1. Last change: 2019 Sep 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -138,6 +138,8 @@ Patch to add win_splitmove() function. (Andy Massimino, #4561) Patch for #4733: #4734. Test needs improvements. +Add CmdwinLeavePost (#4762). Also add WinLeavePost then? + Patch to fix session file when using multiple tabs. (Jason Franklin, 2019 May 20) Also put :argadd commands at the start for all buffers, so that their order @@ -278,8 +280,6 @@ Many users don't like 'thesaurus' to match so many words. (#4667, #1611) Some composing characters actually add a cell width to the character they are on top off, making the whole thing two characters wide. (#4526) -Add CmdwinLeavePost (#4762). Also add WinLeavePost then? - Should we include some part of pull request #4505, not increment changedtick in some cases? E.g. for ":write" when the changed flag was already off, the buffer didn't change at all. diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 2795400e9..f251613ca 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 8.1. Last change: 2019 Aug 21 +*various.txt* For Vim version 8.1. Last change: 2019 Sep 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -388,7 +388,7 @@ m *+lua* |Lua| interface m *+lua/dyn* |Lua| interface |/dyn| N *+menu* |:menu| N *+mksession* |:mksession| -N *+modify_fname* |filename-modifiers| +T *+modify_fname* |filename-modifiers| N *+mouse* Mouse handling |mouse-using| N *+mouseshape* |'mouseshape'| B *+mouse_dec* Unix only: Dec terminal mouse handling |dec-mouse| diff --git a/runtime/indent/tcl.vim b/runtime/indent/tcl.vim index d77081841..eafb8dd56 100644 --- a/runtime/indent/tcl.vim +++ b/runtime/indent/tcl.vim @@ -1,8 +1,8 @@ " Vim indent file " Language: Tcl -" Previous Maintainer: Nikolai Weibull " Latest Update: Chris Heithoff -" Latest Revision: 2018-12-05 +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2018-12-05 if exists("b:did_indent") finish diff --git a/runtime/menu.vim b/runtime/menu.vim index e1a510fce..756d4693b 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -359,8 +359,8 @@ func! s:SetupColorSchemes() abort let s:did_setup_color_schemes = 1 let n = globpath(&runtimepath, "colors/*.vim", 1, 1) - let n += globpath(&runtimepath, "pack/*/start/*/colors/*.vim", 1, 1) - let n += globpath(&runtimepath, "pack/*/opt/*/colors/*.vim", 1, 1) + let n += globpath(&packpath, "pack/*/start/*/colors/*.vim", 1, 1) + let n += globpath(&packpath, "pack/*/opt/*/colors/*.vim", 1, 1) " Ignore case for VMS and windows, sort on name let names = sort(map(n, 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)