diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/cmdline.txt | 3 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 26 | ||||
-rw-r--r-- | runtime/doc/tags | 4 | ||||
-rw-r--r-- | runtime/doc/testing.txt | 2 | ||||
-rw-r--r-- | runtime/doc/textprop.txt | 10 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 48 | ||||
-rw-r--r-- | runtime/doc/vim9.txt | 2 | ||||
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 | ||||
-rw-r--r-- | runtime/syntax/resolv.vim | 15 | ||||
-rw-r--r-- | runtime/tutor/tutor.pt | 4 | ||||
-rw-r--r-- | runtime/tutor/tutor.pt.utf-8 | 4 |
11 files changed, 80 insertions, 40 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 528975675..6bd508172 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.2. Last change: 2019 Dec 17 +*cmdline.txt* For Vim version 8.2. Last change: 2020 Feb 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -586,6 +586,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 9ad88edff..508c59a15 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 Feb 14 +*eval.txt* For Vim version 8.2. Last change: 2020 Feb 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1992,7 +1992,7 @@ v:null An empty String. Used to put "null" in JSON. See *v:numbersize* *numbersize-variable* v:numbersize Number of bits in a Number. This is normally 64, but on some - systems it my be 32. + systems it may be 32. *v:oldfiles* *oldfiles-variable* v:oldfiles List of file names that is loaded from the |viminfo| file on @@ -6912,6 +6912,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. Can also be used as a |method|: > GetList()->match('word') @@ -10715,6 +10719,7 @@ browsefilter Compiled with support for |browsefilter|. bsd Compiled on an OS in the BSD family (excluding macOS). builtin_terms Compiled with some builtin terminals. byte_offset Compiled with support for 'o' in 'statusline' +channel Compiled with support for |channel| and |job| cindent Compiled with 'cindent' support. clientserver Compiled with remote invocation support |clientserver|. clipboard Compiled with 'clipboard' support. @@ -10826,7 +10831,7 @@ python_dynamic Python 2.x interface is dynamically loaded. |has-python| python3 Python 3.x interface available. |has-python| python3_compiled Compiled with Python 3.x interface. |has-python| python3_dynamic Python 3.x interface is dynamically loaded. |has-python| -pythonx Compiled with |python_x| interface. |has-pythonx| +pythonx Python 2.x and/or 3.x interface available. |python_x| qnx QNX version of Vim. quickfix Compiled with |quickfix| support. reltime Compiled with |reltime()| support. @@ -11854,11 +11859,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 @@ -11875,8 +11880,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|, @@ -12031,6 +12036,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/doc/tags b/runtime/doc/tags index ac4ff94d1..735fb2d0c 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -8160,6 +8160,7 @@ nroff.vim syntax.txt /*nroff.vim* null-variable eval.txt /*null-variable* number_relativenumber options.txt /*number_relativenumber* numbered-function eval.txt /*numbered-function* +numbersize-variable eval.txt /*numbersize-variable* o insert.txt /*o* o_CTRL-V motion.txt /*o_CTRL-V* o_V motion.txt /*o_V* @@ -9490,6 +9491,8 @@ test_scrollbar() testing.txt /*test_scrollbar()* test_setmouse() testing.txt /*test_setmouse()* test_settime() testing.txt /*test_settime()* test_srand_seed() testing.txt /*test_srand_seed()* +test_unknown() testing.txt /*test_unknown()* +test_void() testing.txt /*test_void()* testing testing.txt /*testing* testing-support testing.txt /*testing-support* testing-variable eval.txt /*testing-variable* @@ -9690,6 +9693,7 @@ v:mouse_win eval.txt /*v:mouse_win* v:mouse_winid eval.txt /*v:mouse_winid* v:none eval.txt /*v:none* v:null eval.txt /*v:null* +v:numbersize eval.txt /*v:numbersize* v:oldfiles eval.txt /*v:oldfiles* v:operator eval.txt /*v:operator* v:option_command eval.txt /*v:option_command* diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index e728e2742..82dc77ecb 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -1,4 +1,4 @@ -*testing.txt* For Vim version 8.2. Last change: 2020 Feb 08 +*testing.txt* For Vim version 8.2. Last change: 2020 Feb 22 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt index 2c6674f05..6dc58b707 100644 --- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -1,4 +1,4 @@ -*textprop.txt* For Vim version 8.2. Last change: 2020 Jan 10 +*textprop.txt* For Vim version 8.2. Last change: 2020 Feb 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -143,8 +143,9 @@ prop_add({lnum}, {col}, {props}) within one line, or use "end_lnum" and "end_col" for a property that spans more than one line. When neither "length" nor "end_col" are given the property - will be zero-width. That means it will not be highlighted but - will move with the text, as a kind of mark. + will be zero-width. That means it will move with the text, as + a kind of mark. One character will be highlighted, if the + type specifies highlighting. The property can end exactly at the last character of the text, or just after it. In the last case, if text is appended to the line, the text property size will increase, also when @@ -335,10 +336,11 @@ properties below the changed text, so that they still highlight the same text, thus you don't need to update these. -Text property columns are not updated: ~ +Text property columns are not updated or copied: ~ - When setting the line with |setline()| or through an interface, such as Lua, Tcl or Python. Vim does not know what text got inserted or deleted. +- With a command like `:move`, which takes a line of text out of context. vim:tw=78:ts=8:noet:ft=help:norl: diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index e371e4c59..aff7bf05c 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 Feb 15 +*todo.txt* For Vim version 8.2. Last change: 2020 Feb 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,15 +38,20 @@ browser use: https://github.com/vim/vim/issues/1234 *known-bugs* -------------------- Known bugs and current work ----------------------- -Include ipv6 syntax changes? (DJ Lucas, #5360) - -Avoid modifyOtherKeys temporarily: - call modify_other_keys(v:false) " disable modifyOtherKeys -Should fix #5617. +Patch for this (#5696): +- Empty text prop which includes start/end does not grow when inserting text. + (Axel Forsman, #5679) Vim9 script: +- "func" inside "vim9script" doesn't work? (Ben Jackson, #5670) +- Completion for :disassemble - "echo Func()" is an error if Func() does not return anything. +- Make "g:imported = Export.exported" work in Vim9 script. +- Make Foo.Bar() work to call the dict function. (#5676) +- make "let var: string" work in a vim9script. - Disallow unlet for local/script/imported vars +- Support type for ":let"/":const" at script level for Vim9 script. + (Ben Jackson, #5671) - :func inside vim9script must still use a:arg - Make "++nr" work. - Check that import in legacy script works and puts item in s: @@ -79,20 +84,25 @@ Vim9 script: LOADVARARG (varags idx) Popup windows: +- With terminal in popup, allow for popup_hide() to temporarily hide it.? - Use popup (or popup menu) for command line completion - When using a popup for the info of a completion menu, and there is not enough space, let the popup overlap with the menu. (#4544) - Implement flip option. - Make redrawing more efficient and avoid flicker: - put popup menu also in popup_mask? +- Match does not have right BG color if line length equals popup width. + (#5658) - Any other commands to disable in a popup window? Use ERROR_IF_POPUP_WINDOW for these. - Figure out the size and position better if wrapping inserts indent Text properties: +- prop_find() may not find text property at start of the line. (#5663) +- Get E685 with a sequence of commands. (#5674) - Combining text property with 'cursorline' does not always work (Billie Cleek, #5533) -- Text properties spanning more than one line +- Text properties spanning more than one line. #5683 - See remarks at top of src/textprop.c 'incsearch' with :s: @@ -161,14 +171,17 @@ Error numbers available: E451, E452, E453, E454, E460, E489, E491, E565, E578, E610, E611, E653, E654, E856, E857, E860, E861, E900 -Patch to move duplicated code to a function. (Yegappan Lakshmanan, #5330) +Patch to fix drawing error with DirectX. (James Grant, #5688) +Causes flicker on resizing. Patch to use more FOR_ALL_ macros and use them. (Yegappan Lakshmanan, #5339) -Patch to explain use of "%" in :!. (#5591) +Patch to explain use of "%" in :!. (David Briscoe, #5591) Patch to add "-d" to xxd. (#5616) +Patch to add Turkish manual. (Emir Sarı, #5641) + Running test_gui and test_gui_init with Motif sometimes kills the window manager. Problem with Motif? Now test_gui crashes in submenu_change(). Athena is OK. @@ -187,6 +200,11 @@ undo result wrong: Masato Nishihata, #4798 When 'lazyredraw' is set sometimes the title is not updated. (Jason Franklin, 2020 Feb 3) Looks like a race condition. +Strange sequence of BufWipeout and BufNew events while doing omni-complete. +(Paul Jolly, #5656) +Get BufDelete without preceding BufNew. (Paul Jolly, #5694) +BufWinenter event not fired when saving unnamed buffer. (Paul Jolly, #5655) + Patch to add function to return the text used in the quickfix window. (Yegappan, #5465) @@ -203,11 +221,6 @@ Undo puts cursor in wrong line after "cG<Esc>" undo. :unmap <c-n> gives error but does remove the mapping. (Antony Scriven, 2019 Dec 19) -Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone -makes his own wrapper). Add a magic string with the version number to the -.bat file and check for it in the uninstaller. E.g. - # uninstall key: vim8.1* - Patch to fix session file when using multiple tab pages. (Jason Franklin, 2019 May 20) Also put :argadd commands at the start for all buffers, so that their order @@ -230,6 +243,8 @@ Should do current file first and not split it up when more results are found. Undo history wrong when ":next file" re-uses a buffer. (#5426) ex_next() should pass flag to do_argfile(), then to do_ecmd(). +Patch to add "note" type to quickfix. (#5527) Missing tests. + Adding "10" to 'spellsuggest' causes spell suggestions to become very slow. (#4087) @@ -238,9 +253,6 @@ match, total matches). (#5631) Patch to provide search stats in a variable, so that it can be used in the statusline. (Fujiwara Takuya, #4446) -":helptags ALL" should skip directories where "tags" cannot be written. -(MatÄ›j Cepl, #5026) - ":bnext" in a help buffer is supposed to go to the next help buffer, but it goes to any buffer, and then :bnext skips help buffers, since they are unlisted. (#4478) @@ -302,6 +314,8 @@ Does not build with MinGW out of the box: Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May 13, #2910) Can't reproduce? +Display messed up with matchparen, wrapping and scrolling. (#5638) + Patch to configure BUILD_DATE for reproducible builds. (James McCoy, #513) Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275) diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index 05c1c8e3d..d634f22fd 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 8.2. Last change: 2020 Feb 21 +*vim9.txt* For Vim version 8.2. Last change: 2020 Feb 22 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 9d485d811..3ba1f7e1d 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 diff --git a/runtime/syntax/resolv.vim b/runtime/syntax/resolv.vim index a879116a5..7b30898d6 100644 --- a/runtime/syntax/resolv.vim +++ b/runtime/syntax/resolv.vim @@ -2,12 +2,14 @@ " Language: resolver configuration file " Maintainer: Radu Dineiu <radu.dineiu@gmail.com> " URL: https://raw.github.com/rid9/vim-resolv/master/resolv.vim -" Last Change: 2013 May 21 -" Version: 1.0 +" Last Change: 2020 Feb 15 +" By: DJ Lucas +" Version: 1.1 " " Credits: " David Necas (Yeti) <yeti@physics.muni.cz> " Stefano Zacchiroli <zack@debian.org> +" DJ Lucas <dj@linuxfromscratch.org> " quit when a syntax file was already loaded if exists("b:current_syntax") @@ -31,6 +33,15 @@ syn match resolvHostname contained /\w\{-}\.[-0-9A-Za-z_\.]*/ " Particular syn match resolvIPNameserver contained /\%(\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\s\|$\)\)\+/ contains=@resolvIPCluster +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{6}\(\x\{1,4}:\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\s\@<=::\(\(\x\{1,4}:\)\{,6}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{1}:\(\(\x\{1,4}:\)\{,5}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{2}:\(\(\x\{1,4}:\)\{,4}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{3}:\(\(\x\{1,4}:\)\{,3}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{4}:\(\(\x\{1,4}:\)\{,2}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{5}:\(\(\x\{1,4}:\)\{,1}\x\{1,4}\)\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{6}:\x\{1,4}\>/ +syn match resolvIPNameserver contained /\<\(\x\{1,4}:\)\{1,7}:\(\s\|;\|$\)\@=/ syn match resolvHostnameSearch contained /\%(\%([-0-9A-Za-z_]\+\.\)*[-0-9A-Za-z_]\+\.\?\%(\s\|$\)\)\+/ syn match resolvIPNetmaskSortList contained /\%(\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\/\%(\%(\d\{1,4}\.\)\{,3}\d\{1,4}\)\)\?\%(\s\|$\)\)\+/ contains=resolvOperator,@resolvIPCluster diff --git a/runtime/tutor/tutor.pt b/runtime/tutor/tutor.pt index a6bf21c3a..b1c794a98 100644 --- a/runtime/tutor/tutor.pt +++ b/runtime/tutor/tutor.pt @@ -131,8 +131,8 @@ NOTA: Enquanto segue este tutorial, não tente memorizar, aprenda pelo uso. ---> Há algum texto faltando nes Há algum texto faltando nesta linha. - Há algum texto faltan ----> Há algum texto faltando aqui. +---> Há algum texto faltan + Há algum texto faltando aqui. 5. Quando se sentir confortável adicionando texto, vá para a Lição 1.6. diff --git a/runtime/tutor/tutor.pt.utf-8 b/runtime/tutor/tutor.pt.utf-8 index be21ca5a1..d59997b55 100644 --- a/runtime/tutor/tutor.pt.utf-8 +++ b/runtime/tutor/tutor.pt.utf-8 @@ -131,8 +131,8 @@ NOTA: Enquanto segue este tutorial, não tente memorizar, aprenda pelo uso. ---> Há algum texto faltando nes Há algum texto faltando nesta linha. - Há algum texto faltan ----> Há algum texto faltando aqui. +---> Há algum texto faltan + Há algum texto faltando aqui. 5. Quando se sentir confortável adicionando texto, vá para a Lição 1.6. |