summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-27 20:42:43 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-27 20:42:43 +0100
commit191acfdecabfbd2a74867e77004196fb3b4a8c14 (patch)
tree01bbbb5000f2852ba0ea098b21ba1d5350ecea70 /runtime
parent37bb030cd9088ee66dc2d41c2d3602d1e5f4a7ef (diff)
Update runtime files
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt8
-rw-r--r--runtime/doc/gui_w32.txt10
-rw-r--r--runtime/doc/index.txt13
-rw-r--r--runtime/doc/insert.txt6
-rw-r--r--runtime/doc/os_haiku.txt19
-rw-r--r--runtime/doc/popup.txt10
-rw-r--r--runtime/doc/recover.txt4
-rw-r--r--runtime/doc/todo.txt40
-rw-r--r--runtime/doc/usr_07.txt6
-rw-r--r--runtime/ftplugin/man.vim4
-rw-r--r--runtime/syntax/awk.vim17
11 files changed, 67 insertions, 70 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e27945d715..45ef83ada2 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -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
@@ -5841,8 +5841,10 @@ has({feature} [, {check}])
When {check} is present and not zero: The result is a Number,
which is 1 if the feature {feature} could ever be supported,
zero otherwise. This is useful to check for a typo in
- {feature}. Keep in mind that an older Vim version will not
- know about a feature added later.
+ {feature} and to detect dead code. Keep in mind that an older
+ 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()|.
diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt
index 002fab3cd6..fda3618336 100644
--- a/runtime/doc/gui_w32.txt
+++ b/runtime/doc/gui_w32.txt
@@ -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
@@ -456,8 +456,12 @@ See the Make_mvc.mak file for instructions, search for XPM.
To try out if XPM support works do this: >
:help
- :exe 'sign define vimxpm icon=' . $VIMRUNTIME . '\\vim16x16.xpm'
- :exe 'sign place 1 line=1 name=vimxpm file=' . expand('%:p')
+ :let runtime = escape($VIMRUNTIME, ' \')
+ :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:
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 2a646a179b..e5a3bd6b55 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -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
@@ -1260,11 +1260,12 @@ tag command action ~
|:cunmenu| :cunme[nu] remove menu for Command-line mode
|:cwindow| :cw[indow] open or close quickfix window
|:delete| :d[elete] delete lines
-|:delmarks| :delm[arks] delete marks
|:debug| :deb[ug] run a command in debugging mode
|:debuggreedy| :debugg[reedy] read debug mode commands from normal input
+|:def| :def define a Vim9 user function
|:delcommand| :delc[ommand] delete user-defined command
|:delfunction| :delf[unction] delete a user function
+|:delmarks| :delm[arks] delete marks
|:diffupdate| :dif[fupdate] update 'diff' buffers
|:diffget| :diffg[et] remove differences in current buffer
|:diffoff| :diffo[ff] switch off diff mode
@@ -1274,9 +1275,9 @@ tag command action ~
|:diffthis| :diffthis make current window a diff window
|:digraphs| :dig[raphs] show or enter digraphs
|:display| :di[splay] display registers
+|:disassemble| :disa[ssemble] disassemble Vim9 user function
|:djump| :dj[ump] jump to #define
|: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
|:doautocmd| :do[autocmd] apply autocommands to current buffer
|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers
@@ -1295,15 +1296,17 @@ tag command action ~
|:else| :el[se] part of an :if command
|:elseif| :elsei[f] part of an :if command
|:emenu| :em[enu] execute a menu by name
+|:enddef| :enddef end of a user function started with :def
|:endif| :en[dif] end previous :if
|: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
|:endwhile| :endw[hile] end previous :while
|:enew| :ene[w] edit a new, unnamed buffer
|:ex| :ex same as ":edit"
|:execute| :exe[cute] execute result of expressions
|:exit| :exi[t] same as ":xit"
+|:export| :exp[ort] Vim9: export an item from a script
|:exusage| :exu[sage] overview of Ex commands
|:file| :f[ile] show or set the current file name
|: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
|:imapclear| :imapc[lear] like ":mapclear" but 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
|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" 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
|:verbose| :verb[ose] execute command with 'verbose' set
|:vertical| :vert[ical] make following command split vertically
+|:vim9script| :vim9[script] indicates Vim9 script file
|:vimgrep| :vim[grep] search for pattern in files
|:vimgrepadd| :vimgrepa[dd] like :vimgrep, but append to current list
|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 782223bce1..934c1c57a9 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -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
@@ -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-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*
- movement, if the cursor stays within
- same the line
+ movement, if the cursor stays within the
+ same line
-----------------------------------------------------------------------
Note: If the cursor keys take you out of Insert mode, check the 'noesckeys'
diff --git a/runtime/doc/os_haiku.txt b/runtime/doc/os_haiku.txt
index 880d284bfb..aabfe1c85b 100644
--- a/runtime/doc/os_haiku.txt
+++ b/runtime/doc/os_haiku.txt
@@ -26,7 +26,7 @@ targets personal computing.
10. Mouse key mappings |haiku-mouse|
11. Color names |haiku-colors|
12. Credits |haiku-support-credits|
-13. Bugs & things To Do |haiku-bugs|
+13. Bugs & to-do |haiku-bugs|
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
workaround which kicks in when the window is activated or deactivated (so it
works best with focus- follows-mouse turned on).
-- The cursor does not flash (very low priority; I'm not sure I even like it
- when it flashes)
+- The cursor does not flash.
4. The $VIM directory *haiku-vimdir*
@@ -222,12 +221,14 @@ All the changes and patches released under vim-license.
Thank you, all!
-13. Bugs & things To Do *haiku-bugs*
-
-The port is under development now and far away from the perfect state. Bug
-reports, patches and wishes are welcome.
-
- -Siarzhuk Zharski <imker@gmx.li>
+13. Bugs & to-do *haiku-bugs*
+
+The port is under development now and far away from the perfect state. For bug
+reports, patches and wishes, please use the Vim mailing list or Vim Github
+repository.
+
+Mailing list: https://www.vim.org/maillist.php
+Vim Github repository: https://github.com/vim/vim
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
index dce2a9040b..79aab40fe9 100644
--- a/runtime/doc/popup.txt
+++ b/runtime/doc/popup.txt
@@ -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
@@ -151,15 +151,19 @@ different: *E863*
- The popup window can be closed with `popup_close()`, the terminal buffer
then becomes hidden.
- 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
"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
pass the buffer number to popup_create(). Example: >
+ hi link Terminal Search
let buf = term_start(['picker', 'Something'], #{hidden: 1, term_finish: 'close'})
let winid = popup_create(buf, #{minwidth: 50, minheight: 20})
- set wincolor=Search
==============================================================================
2. Functions *popup-functions*
diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt
index af0673636f..0bab64a295 100644
--- a/runtime/doc/recover.txt
+++ b/runtime/doc/recover.txt
@@ -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
@@ -125,7 +125,7 @@ If you want to make sure that your changes are in the swap file use this
command:
*: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.
This sets a flag in the current buffer. When the '&'
flag is present in 'cpoptions' the swap file will not
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 07ca1eec48..afa40227b7 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -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
@@ -38,19 +38,10 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs*
-------------------- 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:
-- 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)
+- "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.
- better implementation for partial and tests for that.
- 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 support cindent option to handle pragmas differently.
+(Max Rumpf, #5468)
+
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
@@ -227,6 +221,8 @@ Ready to include? Review the code.
When 'lazyredraw' is set sometimes the title is not updated.
(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.
(Paul Jolly, #5656)
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
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
Fujiwara, #5469)
@@ -646,24 +639,7 @@ Make ":interactive !cmd" stop termcap mode, also when used in an autocommand.
Add buffer argument to undotree(). (#4001)
-Using uninitialized value in test_gn
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
TODO: be able to run all parts of test_alot with valgrind separately
Memory leak in test_alot with pyeval() (allocating partial)
diff --git a/runtime/doc/usr_07.txt b/runtime/doc/usr_07.txt
index 19d79bef60..ab3677124c 100644
--- a/runtime/doc/usr_07.txt
+++ b/runtime/doc/usr_07.txt
@@ -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
@@ -227,8 +227,8 @@ the file.
FILE MARKS
-In chapter 4 was explained how you can place a mark in a file with "mx" and
-jump to that position with "`x". That works within one file. If you edit
+In section |03.10| was explained how you can place a mark in a file with "mx"
+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
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
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index cbace44c14..d7ce4d8acb 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: man
" Maintainer: SungHyun Nam <goweol@gmail.com>
-" Last Change: 2019 Sep 26
+" Last Change: 2020 Mar 25
" (fix by Jason Franklin)
" 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 page = expand("<cword>")
endif
- call s:GetPage(sect, page)
+ call s:GetPage('', sect, page)
endfunc
func <SID>GetCmdArg(sect, page)
diff --git a/runtime/syntax/awk.vim b/runtime/syntax/awk.vim
index 7c0682ce9f..c9696e6feb 100644
--- a/runtime/syntax/awk.vim
+++ b/runtime/syntax/awk.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: awk, nawk, gawk, mawk
" 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
" The AWK Programming Language, Addison-Wesley, 1988
@@ -9,7 +9,7 @@
" GAWK ref. is: Arnold D. Robbins
" Effective AWK Programming, Third Edition, O'Reilly, 2001
" 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 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 print printf return
" GAWK ref. Chapter 7-9
-syn keyword awkStatement switch nextfile
+syn keyword awkStatement case default switch nextfile
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
" 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
-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 tolower toupper
" Input Output Functions
@@ -49,7 +54,7 @@ syn keyword awkFunction close fflush system
syn keyword awkFunction mktime strftime systime
" Bit Manipulation Functions
syn keyword awkFunction and compl lshift or rshift xor
-" Getting Type Functions
+" Getting Type Information Functions
syn keyword awkFunction isarray typeof
" String-Translation Functions
syn keyword awkFunction bindtextdomain dcgettext dcngetext