diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-31 21:07:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-31 21:07:14 +0200 |
commit | 5477506a9f01d40fad2e8f0555bc37adee30478f (patch) | |
tree | afb8271b63c5813ea4f2dee83df994f33791fed5 /runtime/doc | |
parent | 0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/channel.txt | 6 | ||||
-rw-r--r-- | runtime/doc/cmdline.txt | 6 | ||||
-rw-r--r-- | runtime/doc/diff.txt | 4 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 21 | ||||
-rw-r--r-- | runtime/doc/if_lua.txt | 12 | ||||
-rw-r--r-- | runtime/doc/if_mzsch.txt | 11 | ||||
-rw-r--r-- | runtime/doc/if_perl.txt | 11 | ||||
-rw-r--r-- | runtime/doc/if_pyth.txt | 12 | ||||
-rw-r--r-- | runtime/doc/if_ruby.txt | 16 | ||||
-rw-r--r-- | runtime/doc/if_tcl.txt | 12 | ||||
-rw-r--r-- | runtime/doc/indent.txt | 41 | ||||
-rw-r--r-- | runtime/doc/options.txt | 18 | ||||
-rw-r--r-- | runtime/doc/popup.txt | 8 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 12 | ||||
-rw-r--r-- | runtime/doc/testing.txt | 10 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 93 | ||||
-rw-r--r-- | runtime/doc/various.txt | 3 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 12 |
19 files changed, 192 insertions, 120 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index a8e5857728..1f981a6c97 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 8.1. Last change: 2019 Jul 21 +*channel.txt* For Vim version 8.1. Last change: 2019 Jul 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -18,7 +18,7 @@ The Netbeans interface also uses a channel. |netbeans| 5. Channel commands |channel-commands| 6. Using a RAW or NL channel |channel-raw| 7. More channel functions |channel-more| -8. channel functions details |channel-functions-details| +8. Channel functions details |channel-functions-details| 9. Starting a job with a channel |job-start| 10. Starting a job without a channel |job-start-nochannel| 11. Job functions |job-functions-details| @@ -462,7 +462,7 @@ For a JS or JSON channel this returns one decoded message. This includes any sequence number. ============================================================================== -8. channel functions details *channel-functions-details* +8. Channel functions details *channel-functions-details* ch_canread({handle}) *ch_canread()* Return non-zero when there is something to read from {handle}. diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 0a4917a359..a06aa4d756 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 May 07 +*cmdline.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1064,8 +1064,7 @@ Also see |`=|. In the command-line window the command line can be edited just like editing text in any window. It is a special kind of window, because you cannot leave it in a normal way. -{not available when compiled without the |+cmdline_hist| or |+vertsplit| -feature} +{not available when compiled without the |+cmdline_hist| feature} OPEN *c_CTRL-F* *q:* *q/* *q?* @@ -1140,7 +1139,6 @@ VARIOUS The command-line window cannot be used: - when there already is a command-line window (no nesting) - for entering an encryption key or when using inputsecret() -- when Vim was not compiled with the |+vertsplit| feature Some options are set when the command-line window is opened: 'filetype' "vim", when editing an Ex command-line; this starts Vim syntax diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt index 452d0acc85..8c1f03aa60 100644 --- a/runtime/doc/diff.txt +++ b/runtime/doc/diff.txt @@ -1,4 +1,4 @@ -*diff.txt* For Vim version 8.1. Last change: 2019 Jun 02 +*diff.txt* For Vim version 8.1. Last change: 2019 Jul 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -335,7 +335,7 @@ After setting this variable, reload the syntax script: > FINDING THE DIFFERENCES *diff-diffexpr* The 'diffexpr' option can be set to use something else than the standard -"diff" program to compare two files and find the differences. +"diff" program to compare two files and find the differences. *E959* When 'diffexpr' is empty, Vim uses this command to find the differences between file1 and file2: > diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index bd05691380..fdddc22edc 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.1. Last change: 2019 Jul 21 +*eval.txt* For Vim version 8.1. Last change: 2019 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1766,7 +1766,7 @@ v:exception The value of the exception most recently caught and not :try : throw "oops" :catch /.*/ - : echo "caught" v:exception + : echo "caught " .. v:exception :endtry < Output: "caught oops". @@ -2956,7 +2956,7 @@ argv([{nr} [, {winid}]) The {winid} argument specifies the window ID, see |argc()|. -assert_ functions are documented here: |assert-functions| +assert_ functions are documented here: |assert-functions-details| asin({expr}) *asin()* @@ -4423,7 +4423,10 @@ get({blob}, {idx} [, {default}]) get({dict}, {key} [, {default}]) Get item with key {key} from |Dictionary| {dict}. When this item is not available return {default}. Return zero when - {default} is omitted. + {default} is omitted. Useful example: > + let val = get(g:, 'var_name', 'default') +< This gets the value of g:var_name if it exists, and uses + 'default' when it does not exist. get({func}, {what}) Get an item with from Funcref {func}. Possible values for {what} are: @@ -4799,8 +4802,9 @@ getcwd([{winnr} [, {tabnr}]]) getenv({name}) *getenv()* Return the value of environment variable {name}. When the variable does not exist |v:null| is returned. That - is different from a variable set to an empty string. - See also |expr-env|. + is different from a variable set to an empty string, although + some systems interpret the empty value as the variable being + deleted. See also |expr-env|. getfontname([{name}]) *getfontname()* Without an argument returns the name of the normal font being @@ -7162,7 +7166,8 @@ remove({blob}, {idx} [, {end}]) :call remove(mylist, 0, 9) remove({dict}, {key}) - Remove the entry from {dict} with key {key}. Example: > + Remove the entry from {dict} with key {key} and return it. + Example: > :echo "removed " . remove(dict, "one") < If there is no {key} in {dict} this is an error. @@ -8829,7 +8834,7 @@ tempname() *tempname()* *temp-file-name* term_ functions are documented here: |terminal-function-details| -test_ functions are documented here: |test-functions| +test_ functions are documented here: |test-functions-details| *timer_info()* diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt index 24c53fa95b..f7f954e200 100644 --- a/runtime/doc/if_lua.txt +++ b/runtime/doc/if_lua.txt @@ -1,4 +1,4 @@ -*if_lua.txt* For Vim version 8.1. Last change: 2019 May 05 +*if_lua.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Luis Carvalho @@ -32,7 +32,7 @@ Examples: :lua local curbuf = vim.buffer() curbuf[7] = "line #7" < -:[range]lua << {endmarker} +:[range]lua << [endmarker] {script} {endmarker} Execute Lua script {script}. @@ -40,9 +40,11 @@ Examples: feature wasn't compiled in. To avoid errors, see |script-here|. -{endmarker} must NOT be preceded by any white space. If {endmarker} is -omitted from after the "<<", a dot '.' must be used after {script}, like -for the |:append| and |:insert| commands. +The {endmarker} must NOT be preceded by any white space. + +If [endmarker] is omitted from after the "<<", a dot '.' must be used after +{script}, like for the |:append| and |:insert| commands. + This form of the |:lua| command is mainly useful for including Lua code in Vim scripts. diff --git a/runtime/doc/if_mzsch.txt b/runtime/doc/if_mzsch.txt index 7b7e6b1a5c..c6888a8b61 100644 --- a/runtime/doc/if_mzsch.txt +++ b/runtime/doc/if_mzsch.txt @@ -1,4 +1,4 @@ -*if_mzsch.txt* For Vim version 8.1. Last change: 2019 May 05 +*if_mzsch.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Sergey Khorev @@ -39,7 +39,7 @@ To speed up the process, you might also want to use --disable-gracket and :[range]mz[scheme] {stmt} Execute MzScheme statement {stmt}. -:[range]mz[scheme] << {endmarker} +:[range]mz[scheme] << [endmarker] {script} {endmarker} Execute inlined MzScheme script {script}. @@ -47,6 +47,13 @@ To speed up the process, you might also want to use --disable-gracket and feature wasn't compiled in. To avoid errors, see |script-here|. + The {endmarker} below the {script} must NOT be + preceded by any white space. + + If [endmarker] is omitted from after the "<<", a dot + '.' must be used after {script}, like for the + |:append| and |:insert| commands. + *:mzfile* *:mzf* :[range]mzf[ile] {file} Execute the MzScheme script in {file}. diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt index 7e33af24a1..bee9b88bf4 100644 --- a/runtime/doc/if_perl.txt +++ b/runtime/doc/if_perl.txt @@ -1,4 +1,4 @@ -*if_perl.txt* For Vim version 8.1. Last change: 2019 May 05 +*if_perl.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Sven Verdoolaege @@ -55,15 +55,18 @@ The ActiveState one should work, Strawberry Perl is a good alternative. working: > :perl VIM::Msg("Hello") -:pe[rl] << {endpattern} +:pe[rl] << [endpattern] {script} {endpattern} Execute Perl script {script}. - {endpattern} must NOT be preceded by any white space. - If {endpattern} is omitted, it defaults to a dot '.' + The {endpattern} after {script} must NOT be preceded + by any white space. + + If [endpattern] is omitted, it defaults to a dot '.' like for the |:append| and |:insert| commands. Using '.' helps when inside a function, because "$i;" looks like the start of an |:insert| command to Vim. + This form of the |:perl| command is mainly useful for including perl code in vim scripts. Note: This command doesn't work when the Perl feature diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 9e2d3017ce..4f04199d5e 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 8.1. Last change: 2019 May 04 +*if_pyth.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Paul Moore @@ -34,7 +34,7 @@ Both can be available at the same time, but read |python-2-and-3|. the `:python` command is working: > :python print "Hello" -:[range]py[thon] << {endmarker} +:[range]py[thon] << [endmarker] {script} {endmarker} Execute Python script {script}. @@ -42,9 +42,11 @@ Both can be available at the same time, but read |python-2-and-3|. feature wasn't compiled in. To avoid errors, see |script-here|. -{endmarker} must NOT be preceded by any white space. If {endmarker} is -omitted from after the "<<", a dot '.' must be used after {script}, like -for the |:append| and |:insert| commands. +The {endmarker} below the {script} must NOT be preceded by any white space. + +If [endmarker] is omitted from after the "<<", a dot '.' must be used after +{script}, like for the |:append| and |:insert| commands. + This form of the |:python| command is mainly useful for including python code in Vim scripts. diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt index de36c0131a..0eca0b6b66 100644 --- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -1,4 +1,4 @@ -*if_ruby.txt* For Vim version 8.1. Last change: 2019 May 05 +*if_ruby.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Shugo Maeda @@ -28,15 +28,19 @@ downloading Ruby there. :rub[y] {cmd} Execute Ruby command {cmd}. A command to try it out: > :ruby print "Hello" -:rub[y] << {endpattern} +:rub[y] << [endpattern] {script} {endpattern} Execute Ruby script {script}. - {endpattern} must NOT be preceded by any white space. - If {endpattern} is omitted, it defaults to a dot '.' - like for the |:append| and |:insert| commands. This - form of the |:ruby| command is mainly useful for + The {endpattern} after {script} must NOT be preceded + by any white space. + + If [endpattern] is omitted, it defaults to a dot '.' + like for the |:append| and |:insert| commands. + + This form of the |:ruby| command is mainly useful for including ruby code in vim scripts. + Note: This command doesn't work when the Ruby feature wasn't compiled in. To avoid errors, see |script-here|. diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt index 4a5379ddb0..e37dce9092 100644 --- a/runtime/doc/if_tcl.txt +++ b/runtime/doc/if_tcl.txt @@ -1,4 +1,4 @@ -*if_tcl.txt* For Vim version 8.1. Last change: 2019 May 05 +*if_tcl.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Ingo Wilken @@ -30,7 +30,7 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de> is working: > :tcl puts "Hello" -:[range]tc[l] << {endmarker} +:[range]tc[l] << [endmarker] {script} {endmarker} Execute Tcl script {script}. @@ -38,9 +38,11 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de> wasn't compiled in. To avoid errors, see |script-here|. -{endmarker} must NOT be preceded by any white space. If {endmarker} is -omitted from after the "<<", a dot '.' must be used after {script}, like for -the |:append| and |:insert| commands. +The {endmarker} after {script} must NOT be preceded by any white space. + +If [endmarker] is omitted from after the "<<", a dot '.' must be used after +{script}, like for the |:append| and |:insert| commands. + This form of the |:tcl| command is mainly useful for including tcl code in Vim scripts. diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index 76431089eb..6fcf987d86 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 8.1. Last change: 2019 Feb 21 +*indent.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -831,7 +831,7 @@ PHP indenting can be altered in several ways by modifying the values of some global variables: *php-comment* *PHP_autoformatcomment* -To not enable auto-formatting of comments by default (if you want to use your +To not enable auto-formating of comments by default (if you want to use your own 'formatoptions'): > :let g:PHP_autoformatcomment = 0 @@ -901,7 +901,7 @@ NOTE: Indenting will be a bit slower if this option is used because some optimizations won't be available. ------------- - *PHP_vintage_case_default_indent* + *PHP_vintage_case_default_indent* To indent 'case:' and 'default:' statements in switch() blocks: > :let g:PHP_vintage_case_default_indent = 1 @@ -928,6 +928,41 @@ You will obtain the following result: > ->age() ->info(); +------------- + + *PHP_IndentFunctionCallParameters* +Extra indentation levels to add to parameters in multi-line function calls. > + let g:PHP_IndentFunctionCallParameters = 1 + +Function call arguments will indent 1 extra level. For two-space indentation: > + + function call_the_thing( + $with_this, + $and_that + ) { + $this->do_the_thing( + $with_this, + $and_that + ); + } + +------------- + + *PHP_IndentFunctionDeclarationParameters* +Extra indentation levels to add to arguments in multi-line function definitions. > + let g:PHP_IndentFunctionDeclarationParameters = 1 + +Function arguments in declarations will indent 1 extra level. For two-space indentation: > + + function call_the_thing( + $with_this, + $and_that + ) { + $this->do_the_thing( + $with_this, + $and_that + ); + } PYTHON *ft-python-indent* diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0d5586357d..5557f636b6 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.1. Last change: 2019 Jul 18 +*options.txt* For Vim version 8.1. Last change: 2019 Jul 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1131,6 +1131,10 @@ A jump table for the options with a short description can be found at |Q_op|. v:beval_col column number (byte index) v:beval_text word under or after the mouse pointer + Instead of showing a balloon, which is limited to plain text, consider + using a popup window, see |popup_beval_example|. A popup window can + use highlighting and show a border. + The evaluation of the expression must not have side effects! Example: > function MyBalloonExpr() @@ -1436,8 +1440,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'cedit'* 'cedit' string (Vi default: "", Vim default: CTRL-F) global - {not available when compiled without the |+vertsplit| - feature} The key used in Command-line Mode to open the command-line window. The default is CTRL-F when 'compatible' is off. Only non-printable keys are allowed. @@ -1640,8 +1642,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'cmdwinheight'* *'cwh'* 'cmdwinheight' 'cwh' number (default 7) global - {not available when compiled without the |+vertsplit| - feature} Number of screen lines to use for the command-line window. |cmdwin| *'colorcolumn'* *'cc'* @@ -2720,8 +2720,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'eadirection'* *'ead'* 'eadirection' 'ead' string (default "both") global - {not available when compiled without the |+vertsplit| - feature} Tells when the 'equalalways' option applies: ver vertically, width of windows is not affected hor horizontally, height of windows is not affected @@ -7082,8 +7080,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'splitright'* *'spr'* *'nosplitright'* *'nospr'* 'splitright' 'spr' boolean (default off) global - {not available when compiled without the |+vertsplit| - feature} When on, splitting a window will put the new window right of the current one. |:vsplit| @@ -8792,8 +8788,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'winminwidth'* *'wmw'* 'winminwidth' 'wmw' number (default 1) global - {not available when compiled without the |+vertsplit| - feature} The minimal width of a window, when it's not the current window. This is a hard minimum, windows will never become smaller. When set to zero, windows may be "squashed" to zero columns (i.e. just @@ -8821,8 +8815,6 @@ A jump table for the options with a short description can be found at |Q_op|. *'winwidth'* *'wiw'* *E592* 'winwidth' 'wiw' number (default 20) global - {not available when compiled without the |+vertsplit| - feature} Minimal number of columns for the current window. This is not a hard minimum, Vim will use fewer columns if there is not enough room. If the current window is smaller, its size is increased, at the cost of diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index d696e2833e..0552951a75 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -515,10 +515,10 @@ The second argument of |popup_create()| is a dictionary with options: padding. minheight Minimum height of the contents, excluding border and padding. - maxwidth Maximum width of the contents, excluding border and - padding. - minwidth Minimum width of the contents, excluding border and - padding. + maxwidth Maximum width of the contents, excluding border, + padding and scrollbar. + minwidth Minimum width of the contents, excluding border, + padding and scrollbar. firstline First buffer line to display. When larger than one it looks like the text scrolled up. When out of range the last buffer line will at the top of the window. diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 413aff5c52..7597662e3d 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 8.1. Last change: 2019 Jun 02 +*starting.txt* For Vim version 8.1. Last change: 2019 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1189,6 +1189,8 @@ greps in the help files) you might be able to use this: > VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' ` +Don't set $VIMRUNTIME to an empty value, some things may stop working. + ============================================================================== 6. Suspending *suspend* diff --git a/runtime/doc/tags b/runtime/doc/tags index 75071e67cd..01948f6617 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -149,6 +149,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* 'complete' options.txt /*'complete'* 'completefunc' options.txt /*'completefunc'* 'completeopt' options.txt /*'completeopt'* +'completeslash' options.txt /*'completeslash'* 'concealcursor' options.txt /*'concealcursor'* 'conceallevel' options.txt /*'conceallevel'* 'confirm' options.txt /*'confirm'* @@ -169,6 +170,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* 'cscopetag' options.txt /*'cscopetag'* 'cscopetagorder' options.txt /*'cscopetagorder'* 'cscopeverbose' options.txt /*'cscopeverbose'* +'csl' options.txt /*'csl'* 'cspc' options.txt /*'cspc'* 'csprg' options.txt /*'csprg'* 'csqf' options.txt /*'csqf'* @@ -3991,12 +3993,14 @@ E239 sign.txt /*E239* E24 message.txt /*E24* E240 remote.txt /*E240* E241 eval.txt /*E241* +E242 windows.txt /*E242* E243 if_ole.txt /*E243* E244 gui.txt /*E244* E245 gui.txt /*E245* E246 autocmd.txt /*E246* E247 remote.txt /*E247* E248 remote.txt /*E248* +E249 windows.txt /*E249* E25 message.txt /*E25* E250 options.txt /*E250* E251 remote.txt /*E251* @@ -4736,6 +4740,7 @@ E955 terminal.txt /*E955* E956 pattern.txt /*E956* E957 eval.txt /*E957* E958 terminal.txt /*E958* +E959 diff.txt /*E959* E96 diff.txt /*E96* E960 options.txt /*E960* E961 cmdline.txt /*E961* @@ -4910,6 +4915,8 @@ P change.txt /*P* PATHEXT eval.txt /*PATHEXT* PEP8 filetype.txt /*PEP8* PHP_BracesAtCodeLevel indent.txt /*PHP_BracesAtCodeLevel* +PHP_IndentFunctionCallParameters indent.txt /*PHP_IndentFunctionCallParameters* +PHP_IndentFunctionDeclarationParameters indent.txt /*PHP_IndentFunctionDeclarationParameters* PHP_autoformatcomment indent.txt /*PHP_autoformatcomment* PHP_default_indenting indent.txt /*PHP_default_indenting* PHP_noArrowMatching indent.txt /*PHP_noArrowMatching* @@ -5293,7 +5300,7 @@ asin() eval.txt /*asin()* asm.vim syntax.txt /*asm.vim* asm68k syntax.txt /*asm68k* asmh8300.vim syntax.txt /*asmh8300.vim* -assert-functions testing.txt /*assert-functions* +assert-functions-details testing.txt /*assert-functions-details* assert-return eval.txt /*assert-return* assert_beeps() testing.txt /*assert_beeps()* assert_equal() testing.txt /*assert_equal()* @@ -8262,6 +8269,7 @@ popup_filter_menu() popup.txt /*popup_filter_menu()* popup_filter_yesno() popup.txt /*popup_filter_yesno()* popup_getoptions() popup.txt /*popup_getoptions()* popup_getpos() popup.txt /*popup_getpos()* +popup_getpreview() popup.txt /*popup_getpreview()* popup_hide() popup.txt /*popup_hide()* popup_locate() popup.txt /*popup_locate()* popup_menu() popup.txt /*popup_menu()* @@ -9363,8 +9371,8 @@ terminal-window terminal.txt /*terminal-window* terminal.txt terminal.txt /*terminal.txt* terminfo term.txt /*terminfo* termresponse-variable eval.txt /*termresponse-variable* -test-functions testing.txt /*test-functions* test-functions usr_41.txt /*test-functions* +test-functions-details testing.txt /*test-functions-details* test_alloc_fail() testing.txt /*test_alloc_fail()* test_autochdir() testing.txt /*test_autochdir()* test_feedinput() testing.txt /*test_feedinput()* diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 7692d804c4..6fe6b8e5f2 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -1,4 +1,4 @@ -*testing.txt* For Vim version 8.1. Last change: 2019 Jul 21 +*testing.txt* For Vim version 8.1. Last change: 2019 Jul 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -11,8 +11,8 @@ about writing tests in Vim script. This can be used for testing Vim itself and for testing plugins. 1. Testing Vim |testing| -2. Test functions |test-functions| -3. Assert funtions |assert-functions| +2. Test functions |test-functions-details| +3. Assert functions |assert-functions-details| ============================================================================== 1. Testing Vim *testing* @@ -36,7 +36,7 @@ without the |+eval| feature. Find more information in the file src/testdir/README.txt. ============================================================================== -2. Test functions *test-functions* +2. Test functions *test-functions-details* test_alloc_fail({id}, {countdown}, {repeat}) *test_alloc_fail()* This is for testing: If the memory allocation with {id} is @@ -198,7 +198,7 @@ test_settime({expr}) *test_settime()* normal behavior is restored. ============================================================================== -3. Assert functions *assert-functions* +3. Assert functions *assert-functions-details* assert_beeps({cmd}) *assert_beeps()* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 4d937e7092..3c3bd029b1 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 Jul 19 +*todo.txt* For Vim version 8.1. Last change: 2019 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,24 +38,11 @@ browser use: https://github.com/vim/vim/issues/1234 *known-bugs* -------------------- Known bugs and current work ----------------------- -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 -remains equal? Then %argdel to clean it up. Do try this with 'hidden' set. - -Refactor: Move common things out of evalfunc.c, it's too big. -Move function specs out of eval.txt, it's too big. - -Convert comments in option.h - -Patch to convert encoding of strftime(). (Ken Takata, #4685, fixes #4681) - -Patch to Move viminfo related functions to a separate file: #4686 - Popup windows: -- avoid preview popup going outside of the screen -- add popup_getpreview() - get ID of preview window +- Always show the right border, not only when there is a close button? - bug: double click in scrollbar starts selection +- modeless selection fails over ssh and with putty. Mouse dragging not + supported? Can we force it on? - Allow resizing from the bottom-right corner - Implement flip option - Have a way to scroll to the bottom, e.g. set 'firstline' to -1? (#4577) @@ -148,22 +135,29 @@ Terminal emulator window: - When 'encoding' is not utf-8, or the job is using another encoding, setup conversions. -Error numbers available: E172, E221, E242, E249, E260, E274, E275, E276, -E278, E279, E281, E290, E291, E292, E361, E362, E366, E396, E450, E451, E452, -E453, E454, E460, E489, E491, E56, E57, E565, E569, E578, E610, E611, E653, -E654, E693, E706, E856, E857, E860, E861, E863, E889, E900, E959 +Error numbers available: E260, E274, E275, E276, +E278, E279, E290, E292, E362, E366, E450, E451, E452, +E453, E454, E460, E489, E491, E565, E578, E610, E611, E653, +E654, E856, E857, E860, E861, E863, E889, E900 -Problem with German spell file. Hint for solution by Klaus-Peter Schreiner in -#4314, solves the Rasenmäher problem. +Patch on issue #4661 to fix resolve(). (Ken Takata) +https://gist.github.com/k-takata/52d0a677ca9a27bdbaed21d77533244e -Sound: support on Mac? Or does libcanberra work there? +Patch to split of map.c from getchar.c (Yegappan, #4740) -Patch to use forward slash for completion even when 'shellslash' is set. -Adds 'completepathslash'. (Yasuhiro Matsumoto, 2018 Nov 15, #3612) +Sound: support on Mac? Or does libcanberra work there? Patch to add win_splitmove() function. (Andy Massimino, #4561) -Resolve() works incorrectly under windows. (#4661) +Patch for #4733: #4734. Test needs improvements. + +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 +remains equal? Then %argdel to clean it up. Do try this with 'hidden' set. + +Make heredoc-let a bit more restrictive: +https://github.com/vim/vim/issues/4705 Completion mixes results from the current buffer with tags and other files. Happens when typing CTRL-N while still search for results. E.g., type "b_" in @@ -171,6 +165,8 @@ terminal.c and then CTRL-N twice. Should do current file first and not split it up when more results are found. (Also #1890) +Patch to add :spellrare. (#4291) + Patch to use timers in matchparen. (Daniel Hahler, #1338) Ready to include now? @@ -180,12 +176,18 @@ Adding "10" to 'spellsuggest' causes spell suggestions to become very slow. Patch to support 'cursorlineopt' - only highlight the line number of the cursor line: #4693 +Let plugins know how much space is available in the last line before +triggering the hit-enter prompt. Internally called "sc_col". +(Daniel Hahler, #4732) + Patch for Template string: #4491 Not ready yet. New pull: #4634 ":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) +Make 'showbreak' global-local. + Problem showing a line if the number column width changes when using "o". (Mateusz Morusiewicz, #4245) @@ -222,6 +224,9 @@ Patch for Inno Setup: #2739 Internal diff doesn't handle binary file like external diff does. (Mike Williams, 2018 Oct 30) +"exepath('bin/cmd')" does not work while ":!bin/cmd" does work. +(Daniel Hahler, #4710) and executable('bin/cmd') returns 1 + Problem with :tlmenu: Detach item added with all modes? Issue #3563. The quoting of the [command] argument of :terminal is not clearly documented. @@ -308,6 +313,24 @@ added? Add test for urxvt mouse codes. Also test that mouse coordinates can be negative. (see #4326) +All functions are global, which makes functions like get() and len() awkward. +For the future use the ~get() and ~len() syntax. It also allows for +chaining: > + mylist~get(idx) + mylist~uniq()~len() + mydict~get(idx) + mystring~len() +Or use -> (like C pointer dereference) > + mylist->get(idx) + mylist->uniq()->len() + mydict->get(idx) + mystring->len() +Alternatives for ~: + ^ list^get() could also be used + . list.get() already means "member" in Dict + $ list$get() harder to read + @ list@get() harder to read + 'cmdheight' has a tab-local value, but it cannot be obtained with `:echo gettabwinvar(2, 1, '&cmdheight')` returns the value for the _current_ tab page. (Ingo Karkat, #4324) @@ -522,6 +545,8 @@ when adding a sign for every quickfix entry. (#4557) Win32 key codes are messy. Mike Williams tried to fix that, but now old mappings no longer work. Create a new terminal for the better solution? +Patch to "fix" 'visualbell'. Add option to set delay? (#1789) + Script generated by :mksession does not work well if there are windows with modified buffers change "silent only" into "silent only!" @@ -802,18 +827,6 @@ behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlic |