0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Update runtime files

This commit is contained in:
Bram Moolenaar 2020-03-27 20:42:43 +01:00
parent 37bb030cd9
commit 191acfdeca
12 changed files with 614 additions and 320 deletions

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.2. Last change: 2020 Mar 22 *eval.txt* For Vim version 8.2. Last change: 2020 Mar 26
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -5841,8 +5841,10 @@ has({feature} [, {check}])
When {check} is present and not zero: The result is a Number, When {check} is present and not zero: The result is a Number,
which is 1 if the feature {feature} could ever be supported, which is 1 if the feature {feature} could ever be supported,
zero otherwise. This is useful to check for a typo in zero otherwise. This is useful to check for a typo in
{feature}. Keep in mind that an older Vim version will not {feature} and to detect dead code. Keep in mind that an older
know about a feature added later. Vim version will not know about a feature added later and
features that have been abandoned will not be know by the
current Vim version.
Also see |exists()|. Also see |exists()|.

View File

@ -1,4 +1,4 @@
*gui_w32.txt* For Vim version 8.2. Last change: 2019 May 05 *gui_w32.txt* For Vim version 8.2. Last change: 2020 Mar 25
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -456,8 +456,12 @@ See the Make_mvc.mak file for instructions, search for XPM.
To try out if XPM support works do this: > To try out if XPM support works do this: >
:help :help
:exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm' :let runtime = escape($VIMRUNTIME, ' \')
:exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p') :exe 'sign define vimxpm icon=' .. runtime .. '\\vim16x16.xpm'
:exe 'sign place 1 line=1 name=vimxpm file=' .. expand('%:p')
< <
You may need to get the vim16x16.xpm file from github:
https://github.com/vim/vim/blob/master/runtime/vim16x16.xpm
vim:tw=78:sw=4:ts=8:noet:ft=help:norl: vim:tw=78:sw=4:ts=8:noet:ft=help:norl:

View File

@ -1,4 +1,4 @@
*index.txt* For Vim version 8.2. Last change: 2020 Jan 14 *index.txt* For Vim version 8.2. Last change: 2020 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1260,11 +1260,12 @@ tag command action ~
|:cunmenu| :cunme[nu] remove menu for Command-line mode |:cunmenu| :cunme[nu] remove menu for Command-line mode
|:cwindow| :cw[indow] open or close quickfix window |:cwindow| :cw[indow] open or close quickfix window
|:delete| :d[elete] delete lines |:delete| :d[elete] delete lines
|:delmarks| :delm[arks] delete marks
|:debug| :deb[ug] run a command in debugging mode |:debug| :deb[ug] run a command in debugging mode
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input |:debuggreedy| :debugg[reedy] read debug mode commands from normal input
|:def| :def define a Vim9 user function
|:delcommand| :delc[ommand] delete user-defined command |:delcommand| :delc[ommand] delete user-defined command
|:delfunction| :delf[unction] delete a user function |:delfunction| :delf[unction] delete a user function
|:delmarks| :delm[arks] delete marks
|:diffupdate| :dif[fupdate] update 'diff' buffers |:diffupdate| :dif[fupdate] update 'diff' buffers
|:diffget| :diffg[et] remove differences in current buffer |:diffget| :diffg[et] remove differences in current buffer
|:diffoff| :diffo[ff] switch off diff mode |:diffoff| :diffo[ff] switch off diff mode
@ -1274,9 +1275,9 @@ tag command action ~
|:diffthis| :diffthis make current window a diff window |:diffthis| :diffthis make current window a diff window
|:digraphs| :dig[raphs] show or enter digraphs |:digraphs| :dig[raphs] show or enter digraphs
|:display| :di[splay] display registers |:display| :di[splay] display registers
|:disassemble| :disa[ssemble] disassemble Vim9 user function
|:djump| :dj[ump] jump to #define |:djump| :dj[ump] jump to #define
|:dl| :dl short for |:delete| with the 'l' flag |:dl| :dl short for |:delete| with the 'l' flag
|:del| :del[ete]l short for |:delete| with the 'l' flag
|:dlist| :dli[st] list #defines |:dlist| :dli[st] list #defines
|:doautocmd| :do[autocmd] apply autocommands to current buffer |:doautocmd| :do[autocmd] apply autocommands to current buffer
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers |:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
@ -1295,15 +1296,17 @@ tag command action ~
|:else| :el[se] part of an :if command |:else| :el[se] part of an :if command
|:elseif| :elsei[f] part of an :if command |:elseif| :elsei[f] part of an :if command
|:emenu| :em[enu] execute a menu by name |:emenu| :em[enu] execute a menu by name
|:enddef| :enddef end of a user function started with :def
|:endif| :en[dif] end previous :if |:endif| :en[dif] end previous :if
|:endfor| :endfo[r] end previous :for |:endfor| :endfo[r] end previous :for
|:endfunction| :endf[unction] end of a user function |:endfunction| :endf[unction] end of a user function started with :function
|:endtry| :endt[ry] end previous :try |:endtry| :endt[ry] end previous :try
|:endwhile| :endw[hile] end previous :while |:endwhile| :endw[hile] end previous :while
|:enew| :ene[w] edit a new, unnamed buffer |:enew| :ene[w] edit a new, unnamed buffer
|:ex| :ex same as ":edit" |:ex| :ex same as ":edit"
|:execute| :exe[cute] execute result of expressions |:execute| :exe[cute] execute result of expressions
|:exit| :exi[t] same as ":xit" |:exit| :exi[t] same as ":xit"
|:export| :exp[ort] Vim9: export an item from a script
|:exusage| :exu[sage] overview of Ex commands |:exusage| :exu[sage] overview of Ex commands
|:file| :f[ile] show or set the current file name |:file| :f[ile] show or set the current file name
|:files| :files list all files in the buffer list |:files| :files list all files in the buffer list
@ -1345,6 +1348,7 @@ tag command action ~
|:imap| :im[ap] like ":map" but for Insert mode |:imap| :im[ap] like ":map" but for Insert mode
|:imapclear| :imapc[lear] like ":mapclear" but for Insert mode |:imapclear| :imapc[lear] like ":mapclear" but for Insert mode
|:imenu| :ime[nu] add menu for Insert mode |:imenu| :ime[nu] add menu for Insert mode
|:import| :imp[ort] Vim9: import an item from another script
|:inoremap| :ino[remap] like ":noremap" but for Insert mode |:inoremap| :ino[remap] like ":noremap" but for Insert mode
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode |:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode
|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode |:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode
@ -1686,6 +1690,7 @@ tag command action ~
|:version| :ve[rsion] print version number and other info |:version| :ve[rsion] print version number and other info
|:verbose| :verb[ose] execute command with 'verbose' set |:verbose| :verb[ose] execute command with 'verbose' set
|:vertical| :vert[ical] make following command split vertically |:vertical| :vert[ical] make following command split vertically
|:vim9script| :vim9[script] indicates Vim9 script file
|:vimgrep| :vim[grep] search for pattern in files |:vimgrep| :vim[grep] search for pattern in files
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list |:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode |:visual| :vi[sual] same as ":edit", but turns off "Ex" mode

View File

@ -1,4 +1,4 @@
*insert.txt* For Vim version 8.2. Last change: 2020 Jan 26 *insert.txt* For Vim version 8.2. Last change: 2020 Mar 25
VIM REFERENCE MANUAL by Bram Moolenaar 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*
CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L* CTRL-L when 'insertmode' is set: go to Normal mode *i_CTRL-L*
CTRL-G u break undo sequence, start new change *i_CTRL-G_u* CTRL-G u break undo sequence, start new change *i_CTRL-G_u*
CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U* CTRL-G U don't break undo with next left/right cursor *i_CTRL-G_U*
movement, if the cursor stays within movement, if the cursor stays within the
same the line same line
----------------------------------------------------------------------- -----------------------------------------------------------------------
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys' Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'

View File

@ -26,7 +26,7 @@ targets personal computing.
10. Mouse key mappings |haiku-mouse| 10. Mouse key mappings |haiku-mouse|
11. Color names |haiku-colors| 11. Color names |haiku-colors|
12. Credits |haiku-support-credits| 12. Credits |haiku-support-credits|
13. Bugs & things To Do |haiku-bugs| 13. Bugs & to-do |haiku-bugs|
1. General *haiku-general* 1. General *haiku-general*
@ -83,8 +83,7 @@ Stuff that does not work yet:
still playing with the scrollbar it won't change it itself. I provided a still playing with the scrollbar it won't change it itself. I provided a
workaround which kicks in when the window is activated or deactivated (so it workaround which kicks in when the window is activated or deactivated (so it
works best with focus- follows-mouse turned on). works best with focus- follows-mouse turned on).
- The cursor does not flash (very low priority; I'm not sure I even like it - The cursor does not flash.
when it flashes)
4. The $VIM directory *haiku-vimdir* 4. The $VIM directory *haiku-vimdir*
@ -222,12 +221,14 @@ All the changes and patches released under vim-license.
Thank you, all! Thank you, all!
13. Bugs & things To Do *haiku-bugs* 13. Bugs & to-do *haiku-bugs*
The port is under development now and far away from the perfect state. Bug The port is under development now and far away from the perfect state. For bug
reports, patches and wishes are welcome. reports, patches and wishes, please use the Vim mailing list or Vim Github
repository.
-Siarzhuk Zharski <imker@gmx.li> Mailing list: https://www.vim.org/maillist.php
Vim Github repository: https://github.com/vim/vim
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@ -1,4 +1,4 @@
*popup.txt* For Vim version 8.2. Last change: 2020 Mar 14 *popup.txt* For Vim version 8.2. Last change: 2020 Mar 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -151,15 +151,19 @@ different: *E863*
- The popup window can be closed with `popup_close()`, the terminal buffer - The popup window can be closed with `popup_close()`, the terminal buffer
then becomes hidden. then becomes hidden.
- The default Pmenu color is only used for the border and padding. To change - The default Pmenu color is only used for the border and padding. To change
the color of the terminal itself set 'wincolor'. the color of the terminal itself set the Terminal highlight group before
creating the terminal. Setting 'wincolor' later can work but requires the
program in the terminal to redraw everything.
- The default minimal size is 5 lines of 20 characters; Use the "minwidth" and - The default minimal size is 5 lines of 20 characters; Use the "minwidth" and
"minheight" parameters to set a different value. "minheight" parameters to set a different value.
- The terminal size will grow if the program running in the terminal writes
text. Set "maxheight" and "maxwidth" to restrict the size.
To run a terminal in a popup window, first create the terminal hidden. Then To run a terminal in a popup window, first create the terminal hidden. Then
pass the buffer number to popup_create(). Example: > pass the buffer number to popup_create(). Example: >
hi link Terminal Search
let buf = term_start(['picker', 'Something'], #{hidden: 1, term_finish: 'close'}) let buf = term_start(['picker', 'Something'], #{hidden: 1, term_finish: 'close'})
let winid = popup_create(buf, #{minwidth: 50, minheight: 20}) let winid = popup_create(buf, #{minwidth: 50, minheight: 20})
set wincolor=Search
============================================================================== ==============================================================================
2. Functions *popup-functions* 2. Functions *popup-functions*

View File

@ -1,4 +1,4 @@
*recover.txt* For Vim version 8.2. Last change: 2019 May 07 *recover.txt* For Vim version 8.2. Last change: 2020 Mar 24
VIM REFERENCE MANUAL by Bram Moolenaar 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
command: command:
*:pre* *:preserve* *E313* *E314* *:pre* *:preserve* *E313* *E314*
:pre[serve] Write all text for all buffers into swap file. The :pre[serve] Write all text for all buffers into swap files. The
original file is no longer needed for recovery. original file is no longer needed for recovery.
This sets a flag in the current buffer. When the '&' This sets a flag in the current buffer. When the '&'
flag is present in 'cpoptions' the swap file will not flag is present in 'cpoptions' the swap file will not

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.2. Last change: 2020 Mar 19 *todo.txt* For Vim version 8.2. Last change: 2020 Mar 27
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -38,19 +38,10 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Add second argument to has(), return True when the feature can exist at all.
Patch to fix buffer menu. (Yee Cheng Chin, #5787)
Add $TEST_MAY_FAIL, comma separated list of test functions that won't be fatal
when failed.
- When matcning in AfterTheTest() then do not add to s:errors but to
s:warnings. in testdir/runtest.vim
Vim9 script: Vim9 script:
- Add vim9 commands to index, so that vim.vim will get them automatically.
See email from Charles March 11 2020.
- "func" inside "vim9script" doesn't work? (Ben Jackson, #5670) - "func" inside "vim9script" doesn't work? (Ben Jackson, #5670)
- "let x = x + 1" should say that "x" is not defined (declare local after
evaluating expresion).
- "echo Func()" is an error if Func() does not return anything. - "echo Func()" is an error if Func() does not return anything.
- better implementation for partial and tests for that. - better implementation for partial and tests for that.
- Make "g:imported = Export.exported" work in Vim9 script. - Make "g:imported = Export.exported" work in Vim9 script.
@ -206,6 +197,9 @@ Patch to add "-d" to xxd. (#5616)
Patch to add Turkish manual. (Emir Sarı, #5641) Patch to add Turkish manual. (Emir Sarı, #5641)
Patch to support cindent option to handle pragmas differently.
(Max Rumpf, #5468)
File marks merging has duplicates since 7.4.1925. (Ingo Karkat, #5733) File marks merging has duplicates since 7.4.1925. (Ingo Karkat, #5733)
Running test_gui and test_gui_init with Motif sometimes kills the window Running test_gui and test_gui_init with Motif sometimes kills the window
@ -227,6 +221,8 @@ Ready to include? Review the code.
When 'lazyredraw' is set sometimes the title is not updated. When 'lazyredraw' is set sometimes the title is not updated.
(Jason Franklin, 2020 Feb 3) Looks like a race condition. (Jason Franklin, 2020 Feb 3) Looks like a race condition.
Patch to delete BeOS code. (#5817)
Strange sequence of BufWipeout and BufNew events while doing omni-complete. Strange sequence of BufWipeout and BufNew events while doing omni-complete.
(Paul Jolly, #5656) (Paul Jolly, #5656)
Get BufDelete without preceding BufNew. (Paul Jolly, #5694) Get BufDelete without preceding BufNew. (Paul Jolly, #5694)
@ -260,9 +256,6 @@ Also #5326: netrw buffers are not restored.
When 'backupdir' has a path ending in double slash (meaning: use full path of When 'backupdir' has a path ending in double slash (meaning: use full path of
the file) combined with 'patchmode' the file name is wrong. (#5791) the file) combined with 'patchmode' the file name is wrong. (#5791)
Patch to support cindent option to handle pragmas differently.
(Max Rumpf, #5468)
Patch to make ":verbose pwd" show the scope of the directory. (Takuya Patch to make ":verbose pwd" show the scope of the directory. (Takuya
Fujiwara, #5469) Fujiwara, #5469)
@ -646,24 +639,7 @@ Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
Add buffer argument to undotree(). (#4001) Add buffer argument to undotree(). (#4001)
Using uninitialized value in test_gn
Using uninitialized value in test_crypt (can't explain why). Using uninitialized value in test_crypt (can't explain why).
memory leak in test_cmdline
==6522== by 0x291AFF: ga_grow (misc2.c:2069)
==6522== by 0x3D5B4B: win_size_save (window.c:5243)
==6522== by 0x222922: open_cmdwin (ex_getln.c:4177)
==6522== by 0x21D472: getcmdline_int (ex_getln.c:1376)
memory leak in test_paste
Memory leak in test_terminal:
==23530== by 0x2640D7: alloc (misc2.c:874)
==23530== by 0x2646D6: vim_strsave (misc2.c:1315)
==23530== by 0x25841D: FullName_save (misc1.c:5443)
==23530== by 0x17CB4F: fix_fname (buffer.c:4794)
==23530== by 0x17CB9A: fname_expand (buffer.c:4838)
==23530== by 0x1759AB: buflist_new (buffer.c:1889)
==23530== by 0x35C923: term_start (terminal.c:421)
==23530== by 0x2AFF30: mch_call_shell_terminal (os_unix.c:4377)
==23530== by 0x2B16BE: mch_call_shell (os_unix.c:5383)
Memory leak in test_terminal_fail Memory leak in test_terminal_fail
TODO: be able to run all parts of test_alot with valgrind separately TODO: be able to run all parts of test_alot with valgrind separately
Memory leak in test_alot with pyeval() (allocating partial) Memory leak in test_alot with pyeval() (allocating partial)

View File

@ -1,4 +1,4 @@
*usr_07.txt* For Vim version 8.2. Last change: 2017 Sep 18 *usr_07.txt* For Vim version 8.2. Last change: 2020 Mar 23
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@ -227,8 +227,8 @@ the file.
FILE MARKS FILE MARKS
In chapter 4 was explained how you can place a mark in a file with "mx" and In section |03.10| was explained how you can place a mark in a file with "mx"
jump to that position with "`x". That works within one file. If you edit and jump to that position with "`x". That works within one file. If you edit
another file and place marks there, these are specific for that file. Thus another file and place marks there, these are specific for that file. Thus
each file has its own set of marks, they are local to the file. each file has its own set of marks, they are local to the file.
So far we were using marks with a lowercase letter. There are also marks So far we were using marks with a lowercase letter. There are also marks

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: man " Language: man
" Maintainer: SungHyun Nam <goweol@gmail.com> " Maintainer: SungHyun Nam <goweol@gmail.com>
" Last Change: 2019 Sep 26 " Last Change: 2020 Mar 25
" (fix by Jason Franklin) " (fix by Jason Franklin)
" To make the ":Man" command available before editing a manual page, source " To make the ":Man" command available before editing a manual page, source
@ -96,7 +96,7 @@ func <SID>PreGetPage(cnt)
let sect = a:cnt let sect = a:cnt
let page = expand("<cword>") let page = expand("<cword>")
endif endif
call s:GetPage(sect, page) call s:GetPage('', sect, page)
endfunc endfunc
func <SID>GetCmdArg(sect, page) func <SID>GetCmdArg(sect, page)

View File

@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: awk, nawk, gawk, mawk " Language: awk, nawk, gawk, mawk
" Maintainer: Antonio Colombo <azc100@gmail.com> " Maintainer: Antonio Colombo <azc100@gmail.com>
" Last Change: 2016 Sep 05 " Last Change: 2020 Mar 25
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger " AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
" The AWK Programming Language, Addison-Wesley, 1988 " The AWK Programming Language, Addison-Wesley, 1988
@ -9,7 +9,7 @@
" GAWK ref. is: Arnold D. Robbins " GAWK ref. is: Arnold D. Robbins
" Effective AWK Programming, Third Edition, O'Reilly, 2001 " Effective AWK Programming, Third Edition, O'Reilly, 2001
" Effective AWK Programming, Fourth Edition, O'Reilly, 2015 " Effective AWK Programming, Fourth Edition, O'Reilly, 2015
" (also available and updated with the gawk source distribution) " (up-to-date version available with the gawk source distribution)
" MAWK is a "new awk" meaning it implements AWK ref. " MAWK is a "new awk" meaning it implements AWK ref.
" mawk conforms to the Posix 1003.2 (draft 11.3) " mawk conforms to the Posix 1003.2 (draft 11.3)
@ -33,14 +33,19 @@ syn keyword awkStatement break continue delete exit
syn keyword awkStatement function getline next syn keyword awkStatement function getline next
syn keyword awkStatement print printf return syn keyword awkStatement print printf return
" GAWK ref. Chapter 7-9 " GAWK ref. Chapter 7-9
syn keyword awkStatement switch nextfile syn keyword awkStatement case default switch nextfile
syn keyword awkStatement func syn keyword awkStatement func
" GAWK ref. Chapter 2.7, Including Other Files into Your Program
" GAWK ref. Chapter 2.8, Loading Dynamic Extensions into Your Program
" GAWK ref. Chapter 15, Namespaces
" Directives
syn keyword awkStatement @include @load @namespace
" "
" GAWK ref. Chapter 9, Functions " GAWK ref. Chapter 9, Functions
" Numeric Functions " Numeric Functions
syn keyword awkFunction atan2 cos exp int intdiv log rand sin sqrt srand syn keyword awkFunction atan2 cos exp int log rand sin sqrt srand
" String Manipulation Functions " String Manipulation Functions
syn keyword awkFunction asort asort1 gensub gsub index length match syn keyword awkFunction asort asorti gensub gsub index length match
syn keyword awkFunction patsplit split sprintf strtonum sub substr syn keyword awkFunction patsplit split sprintf strtonum sub substr
syn keyword awkFunction tolower toupper syn keyword awkFunction tolower toupper
" Input Output Functions " Input Output Functions
@ -49,7 +54,7 @@ syn keyword awkFunction close fflush system
syn keyword awkFunction mktime strftime systime syn keyword awkFunction mktime strftime systime
" Bit Manipulation Functions " Bit Manipulation Functions
syn keyword awkFunction and compl lshift or rshift xor syn keyword awkFunction and compl lshift or rshift xor
" Getting Type Functions " Getting Type Information Functions
syn keyword awkFunction isarray typeof syn keyword awkFunction isarray typeof
" String-Translation Functions " String-Translation Functions
syn keyword awkFunction bindtextdomain dcgettext dcngetext syn keyword awkFunction bindtextdomain dcgettext dcngetext

File diff suppressed because it is too large Load Diff