Skip to content

Commit 191acfd

Browse files
committed
Update runtime files
1 parent 37bb030 commit 191acfd

12 files changed

Lines changed: 614 additions & 320 deletions

File tree

runtime/doc/eval.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.2. Last change: 2020 Mar 22
1+
*eval.txt* For Vim version 8.2. Last change: 2020 Mar 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5841,8 +5841,10 @@ has({feature} [, {check}])
58415841
When {check} is present and not zero: The result is a Number,
58425842
which is 1 if the feature {feature} could ever be supported,
58435843
zero otherwise. This is useful to check for a typo in
5844-
{feature}. Keep in mind that an older Vim version will not
5845-
know about a feature added later.
5844+
{feature} and to detect dead code. Keep in mind that an older
5845+
Vim version will not know about a feature added later and
5846+
features that have been abandoned will not be know by the
5847+
current Vim version.
58465848

58475849
Also see |exists()|.
58485850

runtime/doc/gui_w32.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w32.txt* For Vim version 8.2. Last change: 2019 May 05
1+
*gui_w32.txt* For Vim version 8.2. Last change: 2020 Mar 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -456,8 +456,12 @@ See the Make_mvc.mak file for instructions, search for XPM.
456456

457457
To try out if XPM support works do this: >
458458
:help
459-
:exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm'
460-
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
459+
:let runtime = escape($VIMRUNTIME, ' \')
460+
:exe 'sign define vimxpm icon=' .. runtime .. '\\vim16x16.xpm'
461+
:exe 'sign place 1 line=1 name=vimxpm file=' .. expand('%:p')
461462
<
463+
You may need to get the vim16x16.xpm file from github:
464+
https://github.com/vim/vim/blob/master/runtime/vim16x16.xpm
465+
462466

463467
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:

runtime/doc/index.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.2. Last change: 2020 Jan 14
1+
*index.txt* For Vim version 8.2. Last change: 2020 Mar 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1260,11 +1260,12 @@ tag command action ~
12601260
|:cunmenu| :cunme[nu] remove menu for Command-line mode
12611261
|:cwindow| :cw[indow] open or close quickfix window
12621262
|:delete| :d[elete] delete lines
1263-
|:delmarks| :delm[arks] delete marks
12641263
|:debug| :deb[ug] run a command in debugging mode
12651264
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input
1265+
|:def| :def define a Vim9 user function
12661266
|:delcommand| :delc[ommand] delete user-defined command
12671267
|:delfunction| :delf[unction] delete a user function
1268+
|:delmarks| :delm[arks] delete marks
12681269
|:diffupdate| :dif[fupdate] update 'diff' buffers
12691270
|:diffget| :diffg[et] remove differences in current buffer
12701271
|:diffoff| :diffo[ff] switch off diff mode
@@ -1274,9 +1275,9 @@ tag command action ~
12741275
|:diffthis| :diffthis make current window a diff window
12751276
|:digraphs| :dig[raphs] show or enter digraphs
12761277
|:display| :di[splay] display registers
1278+
|:disassemble| :disa[ssemble] disassemble Vim9 user function
12771279
|:djump| :dj[ump] jump to #define
12781280
|:dl| :dl short for |:delete| with the 'l' flag
1279-
|:del| :del[ete]l short for |:delete| with the 'l' flag
12801281
|:dlist| :dli[st] list #defines
12811282
|:doautocmd| :do[autocmd] apply autocommands to current buffer
12821283
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
@@ -1295,15 +1296,17 @@ tag command action ~
12951296
|:else| :el[se] part of an :if command
12961297
|:elseif| :elsei[f] part of an :if command
12971298
|:emenu| :em[enu] execute a menu by name
1299+
|:enddef| :enddef end of a user function started with :def
12981300
|:endif| :en[dif] end previous :if
12991301
|:endfor| :endfo[r] end previous :for
1300-
|:endfunction| :endf[unction] end of a user function
1302+
|:endfunction| :endf[unction] end of a user function started with :function
13011303
|:endtry| :endt[ry] end previous :try
13021304
|:endwhile| :endw[hile] end previous :while
13031305
|:enew| :ene[w] edit a new, unnamed buffer
13041306
|:ex| :ex same as ":edit"
13051307
|:execute| :exe[cute] execute result of expressions
13061308
|:exit| :exi[t] same as ":xit"
1309+
|:export| :exp[ort] Vim9: export an item from a script
13071310
|:exusage| :exu[sage] overview of Ex commands
13081311
|:file| :f[ile] show or set the current file name
13091312
|:files| :files list all files in the buffer list
@@ -1345,6 +1348,7 @@ tag command action ~
13451348
|:imap| :im[ap] like ":map" but for Insert mode
13461349
|:imapclear| :imapc[lear] like ":mapclear" but for Insert mode
13471350
|:imenu| :ime[nu] add menu for Insert mode
1351+
|:import| :imp[ort] Vim9: import an item from another script
13481352
|:inoremap| :ino[remap] like ":noremap" but for Insert mode
13491353
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
13501354
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
@@ -1686,6 +1690,7 @@ tag command action ~
16861690
|:version| :ve[rsion] print version number and other info
16871691
|:verbose| :verb[ose] execute command with 'verbose' set
16881692
|:vertical| :vert[ical] make following command split vertically
1693+
|:vim9script| :vim9[script] indicates Vim9 script file
16891694
|:vimgrep| :vim[grep] search for pattern in files
16901695
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
16911696
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode

runtime/doc/insert.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 8.2. Last change: 2020 Jan 26
1+
*insert.txt* For Vim version 8.2. Last change: 2020 Mar 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -379,8 +379,8 @@ CTRL-\ CTRL-O like CTRL-O but don't move the cursor *i_CTRL-\_CTRL-O*
379379
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
380380
CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
381381
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
382-
movement, if the cursor stays within
383-
same the line
382+
movement, if the cursor stays within the
383+
same line
384384
-----------------------------------------------------------------------
385385

386386
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'

runtime/doc/os_haiku.txt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ targets personal computing.
2626
10. Mouse key mappings |haiku-mouse|
2727
11. Color names |haiku-colors|
2828
12. Credits |haiku-support-credits|
29-
13. Bugs & things To Do |haiku-bugs|
29+
13. Bugs & to-do |haiku-bugs|
3030

3131

3232
1. General *haiku-general*
@@ -83,8 +83,7 @@ Stuff that does not work yet:
8383
still playing with the scrollbar it won't change it itself. I provided a
8484
workaround which kicks in when the window is activated or deactivated (so it
8585
works best with focus- follows-mouse turned on).
86-
- The cursor does not flash (very low priority; I'm not sure I even like it
87-
when it flashes)
86+
- The cursor does not flash.
8887

8988

9089
4. The $VIM directory *haiku-vimdir*
@@ -222,12 +221,14 @@ All the changes and patches released under vim-license.
222221
Thank you, all!
223222

224223

225-
13. Bugs & things To Do *haiku-bugs*
226-
227-
The port is under development now and far away from the perfect state. Bug
228-
reports, patches and wishes are welcome.
229-
230-
-Siarzhuk Zharski <[email protected]>
224+
13. Bugs & to-do *haiku-bugs*
225+
226+
The port is under development now and far away from the perfect state. For bug
227+
reports, patches and wishes, please use the Vim mailing list or Vim Github
228+
repository.
229+
230+
Mailing list: https://www.vim.org/maillist.php
231+
Vim Github repository: https://github.com/vim/vim
231232

232233

233234
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/popup.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*popup.txt* For Vim version 8.2. Last change: 2020 Mar 14
1+
*popup.txt* For Vim version 8.2. Last change: 2020 Mar 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -151,15 +151,19 @@ different: *E863*
151151
- The popup window can be closed with `popup_close()`, the terminal buffer
152152
then becomes hidden.
153153
- The default Pmenu color is only used for the border and padding. To change
154-
the color of the terminal itself set 'wincolor'.
154+
the color of the terminal itself set the Terminal highlight group before
155+
creating the terminal. Setting 'wincolor' later can work but requires the
156+
program in the terminal to redraw everything.
155157
- The default minimal size is 5 lines of 20 characters; Use the "minwidth" and
156158
"minheight" parameters to set a different value.
159+
- The terminal size will grow if the program running in the terminal writes
160+
text. Set "maxheight" and "maxwidth" to restrict the size.
157161

158162
To run a terminal in a popup window, first create the terminal hidden. Then
159163
pass the buffer number to popup_create(). Example: >
164+
hi link Terminal Search
160165
let buf = term_start(['picker', 'Something'], #{hidden: 1, term_finish: 'close'})
161166
let winid = popup_create(buf, #{minwidth: 50, minheight: 20})
162-
set wincolor=Search
163167
164168
==============================================================================
165169
2. Functions *popup-functions*

runtime/doc/recover.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*recover.txt* For Vim version 8.2. Last change: 2019 May 07
1+
*recover.txt* For Vim version 8.2. Last change: 2020 Mar 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -125,7 +125,7 @@ If you want to make sure that your changes are in the swap file use this
125125
command:
126126

127127
*:pre* *:preserve* *E313* *E314*
128-
:pre[serve] Write all text for all buffers into swap file. The
128+
:pre[serve] Write all text for all buffers into swap files. The
129129
original file is no longer needed for recovery.
130130
This sets a flag in the current buffer. When the '&'
131131
flag is present in 'cpoptions' the swap file will not

runtime/doc/todo.txt

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.2. Last change: 2020 Mar 19
1+
*todo.txt* For Vim version 8.2. Last change: 2020 Mar 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -38,19 +38,10 @@ browser use: https://github.com/vim/vim/issues/1234
3838
*known-bugs*
3939
-------------------- Known bugs and current work -----------------------
4040

41-
Add second argument to has(), return True when the feature can exist at all.
42-
43-
Patch to fix buffer menu. (Yee Cheng Chin, #5787)
44-
45-
Add $TEST_MAY_FAIL, comma separated list of test functions that won't be fatal
46-
when failed.
47-
- When matcning in AfterTheTest() then do not add to s:errors but to
48-
s:warnings. in testdir/runtest.vim
49-
5041
Vim9 script:
51-
- Add vim9 commands to index, so that vim.vim will get them automatically.
52-
See email from Charles March 11 2020.
5342
- "func" inside "vim9script" doesn't work? (Ben Jackson, #5670)
43+
- "let x = x + 1" should say that "x" is not defined (declare local after
44+
evaluating expresion).
5445
- "echo Func()" is an error if Func() does not return anything.
5546
- better implementation for partial and tests for that.
5647
- Make "g:imported = Export.exported" work in Vim9 script.
@@ -206,6 +197,9 @@ Patch to add "-d" to xxd. (#5616)
206197

207198
Patch to add Turkish manual. (Emir Sarı, #5641)
208199

200+
Patch to support cindent option to handle pragmas differently.
201+
(Max Rumpf, #5468)
202+
209203
File marks merging has duplicates since 7.4.1925. (Ingo Karkat, #5733)
210204

211205
Running test_gui and test_gui_init with Motif sometimes kills the window
@@ -227,6 +221,8 @@ Ready to include? Review the code.
227221
When 'lazyredraw' is set sometimes the title is not updated.
228222
(Jason Franklin, 2020 Feb 3) Looks like a race condition.
229223

224+
Patch to delete BeOS code. (#5817)
225+
230226
Strange sequence of BufWipeout and BufNew events while doing omni-complete.
231227
(Paul Jolly, #5656)
232228
Get BufDelete without preceding BufNew. (Paul Jolly, #5694)
@@ -260,9 +256,6 @@ Also #5326: netrw buffers are not restored.
260256
When 'backupdir' has a path ending in double slash (meaning: use full path of
261257
the file) combined with 'patchmode' the file name is wrong. (#5791)
262258

263-
Patch to support cindent option to handle pragmas differently.
264-
(Max Rumpf, #5468)
265-
266259
Patch to make ":verbose pwd" show the scope of the directory. (Takuya
267260
Fujiwara, #5469)
268261

@@ -646,24 +639,7 @@ Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
646639

647640
Add buffer argument to undotree(). (#4001)
648641

649-
Using uninitialized value in test_gn
650642
Using uninitialized value in test_crypt (can't explain why).
651-
memory leak in test_cmdline
652-
==6522== by 0x291AFF: ga_grow (misc2.c:2069)
653-
==6522== by 0x3D5B4B: win_size_save (window.c:5243)
654-
==6522== by 0x222922: open_cmdwin (ex_getln.c:4177)
655-
==6522== by 0x21D472: getcmdline_int (ex_getln.c:1376)
656-
memory leak in test_paste
657-
Memory leak in test_terminal:
658-
==23530== by 0x2640D7: alloc (misc2.c:874)
659-
==23530== by 0x2646D6: vim_strsave (misc2.c:1315)
660-
==23530== by 0x25841D: FullName_save (misc1.c:5443)
661-
==23530== by 0x17CB4F: fix_fname (buffer.c:4794)
662-
==23530== by 0x17CB9A: fname_expand (buffer.c:4838)
663-
==23530== by 0x1759AB: buflist_new (buffer.c:1889)
664-
==23530== by 0x35C923: term_start (terminal.c:421)
665-
==23530== by 0x2AFF30: mch_call_shell_terminal (os_unix.c:4377)
666-
==23530== by 0x2B16BE: mch_call_shell (os_unix.c:5383)
667643
Memory leak in test_terminal_fail
668644
TODO: be able to run all parts of test_alot with valgrind separately
669645
Memory leak in test_alot with pyeval() (allocating partial)

runtime/doc/usr_07.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_07.txt* For Vim version 8.2. Last change: 2017 Sep 18
1+
*usr_07.txt* For Vim version 8.2. Last change: 2020 Mar 23
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -227,8 +227,8 @@ the file.
227227

228228
FILE MARKS
229229

230-
In chapter 4 was explained how you can place a mark in a file with "mx" and
231-
jump to that position with "`x". That works within one file. If you edit
230+
In section |03.10| was explained how you can place a mark in a file with "mx"
231+
and jump to that position with "`x". That works within one file. If you edit
232232
another file and place marks there, these are specific for that file. Thus
233233
each file has its own set of marks, they are local to the file.
234234
So far we were using marks with a lowercase letter. There are also marks

runtime/ftplugin/man.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim filetype plugin file
22
" Language: man
33
" Maintainer: SungHyun Nam <[email protected]>
4-
" Last Change: 2019 Sep 26
4+
" Last Change: 2020 Mar 25
55
" (fix by Jason Franklin)
66

77
" To make the ":Man" command available before editing a manual page, source
@@ -96,7 +96,7 @@ func <SID>PreGetPage(cnt)
9696
let sect = a:cnt
9797
let page = expand("<cword>")
9898
endif
99-
call s:GetPage(sect, page)
99+
call s:GetPage('', sect, page)
100100
endfunc
101101

102102
func <SID>GetCmdArg(sect, page)

0 commit comments

Comments
 (0)