diff options
34 files changed, 300 insertions, 232 deletions
diff --git a/runtime/autoload/htmlcomplete.vim b/runtime/autoload/htmlcomplete.vim index 984ba8b58e..6b9d49a469 100644 --- a/runtime/autoload/htmlcomplete.vim +++ b/runtime/autoload/htmlcomplete.vim @@ -1,7 +1,7 @@ " Vim completion script " Language: HTML and XHTML " Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) -" Last Change: 2014 Jun 20 +" Last Change: 2019 Sep 27 " Distinguish between HTML versions. " To use with other HTML versions add another "elseif" condition to match @@ -245,7 +245,8 @@ function! htmlcomplete#CompleteTags(findstart, base) " If context contains white space it is attribute. " It can be also value of attribute. " We have to get first word to offer proper completions - if context == '' + if context =~ '^\s*$' + " empty or whitespace line let tag = '' else let tag = split(context)[0] diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index d5c568000a..345bc8f61e 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 8.1. Last change: 2019 Aug 21 +*change.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1172,7 +1172,7 @@ Rationale: In Vi the "y" command followed by a backwards motion would With a linewise yank command the cursor is put in the first line, but the column is unmodified, thus it may not be on the first yanked character. -There are ten types of registers: *registers* *E354* +There are ten types of registers: *registers* *{register}* *E354* 1. The unnamed register "" 2. 10 numbered registers "0 to "9 3. The small delete register "- @@ -1312,7 +1312,7 @@ When writing to this register, nothing happens. This can be used to delete text without affecting the normal registers. When reading from this register, nothing is returned. -10. Last search pattern register "/ *quote_/* *quote/* +10. Last search pattern register "/ *quote_/* *quote/* Contains the most recent search-pattern. This is used for "n" and 'hlsearch'. It is writable with `:let`, you can change it to have 'hlsearch' highlight other matches without actually searching. You can't yank or delete into this diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index a3aeb18865..092757a2be 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 Sep 04 +*cmdline.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -129,7 +129,7 @@ CTRL-K {char1} {char2} *c_CTRL-K* enter digraph (see |digraphs|). When {char1} is a special key, the code for that key is inserted in <> form. -CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>* +CTRL-R {register} *c_CTRL-R* *c_<C-R>* Insert the contents of a numbered or named register. Between typing CTRL-R and the second character '"' will be displayed to indicate that you are expected to enter the name of a @@ -191,8 +191,8 @@ CTRL-R CTRL-L *c_CTRL-R_CTRL-L* *c_<C-R>_<C-L>* *c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>* *c_CTRL-R_CTRL-O* *c_<C-R>_<C-O>* -CTRL-R CTRL-R {0-9a-z"%#:-=. CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L} -CTRL-R CTRL-O {0-9a-z"%#:-=. CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L} +CTRL-R CTRL-R {register CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L} +CTRL-R CTRL-O {register CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L} Insert register or object under the cursor. Works like |c_CTRL-R| but inserts the text literally. For example, if register a contains "xy^Hz" (where ^H is a backspace), diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 40c2adb89f..03a33e9df4 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 8.1. Last change: 2019 Jun 10 +*editing.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1554,7 +1554,7 @@ focus. If you want to automatically reload a file when it has been changed outside of Vim, set the 'autoread' option. This doesn't work at the moment you write the file though, only when the file wasn't changed inside of Vim. - + *ignore-timestamp* If you do not want to be asked or automatically reload the file, you can use this: > set buftype=nofile diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index f8f7e48443..927651ce02 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 Sep 26 +*eval.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -9634,9 +9634,14 @@ systemlist({expr} [, {input}]) *systemlist()* Same as |system()|, but returns a |List| with lines (parts of output separated by NL) with NULs transformed into NLs. Output is the same as |readfile()| will output with {binary} argument - set to "b". Note that on MS-Windows you may get trailing CR - characters. + set to "b", except that there is no extra empty item when the + result ends in a NL. + Note that on MS-Windows you may get trailing CR characters. + To see the difference between "echo hello" and "echo -n hello" + use |system()| and |split()|: > + echo system('echo hello')->split('\n', 1) +< Returns an empty string on error. Can also be used as a |method|: > diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt index fce2e5aa74..f611d4a91c 100644 --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -595,6 +595,10 @@ If you do not like the default folding, use an autocommand to add your desired folding style instead. For example: > autocmd FileType man setlocal foldmethod=indent foldenable +If you would like :Man {number} {name} to behave like man {number} {name} by +not running man {name} if no page is found, then use this: > + let g:ft_man_no_sect_fallback = 1 + You may also want to set 'keywordprg' to make the |K| command open a manual page in a Vim window: > set keywordprg=:Man diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 3563d88181..6b7c822052 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 8.1. Last change: 2019 Sep 02 +*index.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -73,14 +73,14 @@ tag char action in Insert mode ~ the cursor |i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal control flow -|i_CTRL-R| CTRL-R {0-9a-z"%#*:=} +|i_CTRL-R| CTRL-R {register} insert the contents of a register -|i_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:=} +|i_CTRL-R_CTRL-R| CTRL-R CTRL-R {register} insert the contents of a register literally -|i_CTRL-R_CTRL-O| CTRL-R CTRL-O {0-9a-z"%#*:=} +|i_CTRL-R_CTRL-O| CTRL-R CTRL-O {register} insert the contents of a register literally and don't auto-indent -|i_CTRL-R_CTRL-P| CTRL-R CTRL-P {0-9a-z"%#*:=} +|i_CTRL-R_CTRL-P| CTRL-R CTRL-P {register} insert the contents of a register literally and fix indent. CTRL-S (used for terminal control flow) diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 47c40a2f83..dfc3541f55 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 8.1. Last change: 2019 Sep 08 +*insert.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -106,7 +106,7 @@ CTRL-K {char1} [char2] CTRL-N Find next keyword (see |i_CTRL-N|). CTRL-P Find previous keyword (see |i_CTRL-P|). -CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R* +CTRL-R {register} *i_CTRL-R* Insert the contents of a register. Between typing CTRL-R and the second character, '"' will be displayed to indicate that you are expected to enter the name of a register. @@ -143,7 +143,7 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R* sequence will be broken. See |registers| about registers. -CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* +CTRL-R CTRL-R {register} *i_CTRL-R_CTRL-R* Insert the contents of a register. Works like using a single CTRL-R, but the text is inserted literally, not as if typed. This differs when the register contains characters like <BS>. @@ -155,7 +155,7 @@ CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* The '.' register (last inserted text) is still inserted as typed. -CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O* +CTRL-R CTRL-O {register} *i_CTRL-R_CTRL-O* Insert the contents of a register literally and don't auto-indent. Does the same as pasting with the mouse |<MiddleMouse>|. When the register is linewise this will @@ -164,7 +164,7 @@ CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O* The '.' register (last inserted text) is still inserted as typed. -CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P* +CTRL-R CTRL-P {register} *i_CTRL-R_CTRL-P* Insert the contents of a register literally and fix the indent, like |[<MiddleMouse>|. Does not replace characters! diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1dd74919bc..d216f0ca56 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 Sep 18 +*options.txt* For Vim version 8.1. Last change: 2019 Sep 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -8177,8 +8177,8 @@ A jump table for the options with a short description can be found at |Q_op|. Win32 and OS/2) global or local to buffer |global-local| Maximum number of changes that can be undone. Since undo information - is kept in memory, higher numbers will cause more memory to be used - (nevertheless, a single change can use an unlimited amount of memory). + is kept in memory, higher numbers will cause more memory to be used. + Nevertheless, a single change can already use a large amount of memory. Set to 0 for Vi compatibility: One level of undo and "u" undoes itself: > set ul=0 diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index bfc387e739..fa15bca8d8 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 8.1. Last change: 2019 Aug 20 +*quickref.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -291,7 +291,7 @@ moving around: |i_CTRL-A| CTRL-A insert previously inserted text |i_CTRL-@| CTRL-@ insert previously inserted text and stop Insert mode -|i_CTRL-R| CTRL-R {0-9a-z%#:.-="} insert the contents of a register +|i_CTRL-R| CTRL-R {register} insert the contents of a register |i_CTRL-N| CTRL-N insert next match of identifier before the cursor @@ -1077,8 +1077,7 @@ Short explanation of each option: *option-list* three digits) |c_CTRL-K| CTRL-K {char1} {char2} enter digraph (See |Q_di|) -|c_CTRL-R| CTRL-R {0-9a-z"%#:-=} - insert the contents of a register +|c_CTRL-R| CTRL-R {register} insert the contents of a register |c_<Left>| <Left>/<Right> cursor left/right |c_<S-Left>| <S-Left>/<S-Right> cursor one word left/right diff --git a/runtime/doc/tags b/runtime/doc/tags index a7f899b0d3..091c968138 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4041,6 +4041,7 @@ E274 eval.txt /*E274* E275 textprop.txt /*E275* E276 eval.txt /*E276* E277 remote.txt /*E277* +E278 popup.txt /*E278* E28 syntax.txt /*E28* E280 if_tcl.txt /*E280* E282 starting.txt /*E282* @@ -7293,6 +7294,7 @@ if_ruby.txt if_ruby.txt /*if_ruby.txt* if_sniff.txt if_sniff.txt /*if_sniff.txt* if_tcl.txt if_tcl.txt /*if_tcl.txt* ignore-errors eval.txt /*ignore-errors* +ignore-timestamp editing.txt /*ignore-timestamp* improved-autocmds-5.4 version5.txt /*improved-autocmds-5.4* improved-quickfix version5.txt /*improved-quickfix* improved-sessions version5.txt /*improved-sessions* @@ -9342,6 +9344,7 @@ term_list() terminal.txt /*term_list()* term_scrape() terminal.txt /*term_scrape()* term_sendkeys() terminal.txt /*term_sendkeys()* term_setansicolors() terminal.txt /*term_setansicolors()* +term_setapi() terminal.txt /*term_setapi()* term_setkill() terminal.txt /*term_setkill()* term_setrestore() terminal.txt /*term_setrestore()* term_setsize() terminal.txt /*term_setsize()* @@ -10163,6 +10166,7 @@ zz scroll.txt /*zz* {move-around} visual.txt /*{move-around}* {offset} pattern.txt /*{offset}* {pat} autocmd.txt /*{pat}* +{register} change.txt /*{register}* {rhs} map.txt /*{rhs}* {subject} helphelp.txt /*{subject}* {} intro.txt /*{}* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index b2dea421ae..59a2f9d3cd 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 Sep 19 +*todo.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -38,14 +38,6 @@ browser use: https://github.com/vim/vim/issues/1234 *known-bugs* -------------------- Known bugs and current work ----------------------- -Add test for state(). -Add test for using SafeState and SafeStateAgain autocommand. -Then plugin can: -- When callback is invoked and state() returns non-empty, add to work queue -- When SafeState autocommand event triggers, process work queue - -Fix for "x" should be done by fixing "dl" ? 8.1.2052 - 'completeopt' "popup" variant that uses a callback after the popup has been created, so the contents can be changed. Make it hidden, callback or later has to make it visible. #4924 Setting the buffer contents later @@ -68,6 +60,7 @@ Popup windows: incomplete cell. Text properties: See comment at top of src/textprop.c. +- Implement prop_find() #4970 'incsearch' with :s: (#3321) - Get E20 when using command history to get "'<,'>s/a/b" and no Visual area @@ -112,7 +105,6 @@ Terminal emulator window: be redrawn. - GUI: When using ":set go+=!" a system() call causes the hit-enter prompt. (#3327) -- Terminal API: Add more functionality? (Ozaki Kiichi 2018 May 13, #2907) - GUI: hang until key typed. (#3530) - Allow for specifying the directory, with ++cwd={dir}. - With a vertical split only one window is updated. (Linwei, 2018 Jun 2, @@ -138,10 +130,15 @@ Terminal emulator window: conversions. Error numbers available: -E278, E279, E290, E292, E362, E366, E450, E451, E452, +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 +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. +Motif: Build on Ubuntu can't enter any text in dialog text fields. + Improve running tests on MS-Windows: #4922 Patch to properly break CJK lines: #3875 @@ -157,6 +154,11 @@ Sound: support on Mac? Or does libcanberra work there? Patch for #4733: #4734. Test needs improvements. +Patch to sort buffers on b_last_used time. (Andy Massimino, #4722) + +Patch to highlight the line number differently below the cursor line. (Shaun +Brady, #624) + 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 @@ -180,19 +182,38 @@ unlisted. (#4478) Patch to fix using zero sc_sid. (#4877) +Universal solution to detect if t_RS is working, using cursor position. +Koichi Iwamoto, #2126 + Make 'showbreak' global-local. The :syntax cchar value can only be a single character. It would be useful to support combining characters. (Charles Campbell) Also #4687 +Patch to make gM move to middle of line. (Yasuhiro Matsumoto, Sep 8, #2070) + +Patch to add v:argv, arguments that Vim was started with. (Dmitri +Vereshchagin, #1322) + +New value "uselast" for 'switchbuf'. (Lemonboy, 2017 Apr 23, #1652) + +Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24) +It can replace the BeOS code, which is likely not used anymore. +Now on github: #1856. Updated Oct 2017 +Got permission to include this under the Vim license. + Problem showing a line if the number column width changes when using "o". (Mateusz Morusiewicz, #4245) When using :packadd for a replacement language plugin, it is loaded after the default one. #4698 +Patch to remove FORTIFY_SOURCE also from CPPFLAGS. (Benedikt Morbach, #2786) + Patch from Namsh to allow building with both XIM and hangulin. (2019 Aug 29) +Patch to fix redirect of shell on MS-Windows. (Yasuhiro Matsumoto, #2054) + When using :packadd files under "later" are not used, which is inconsistent with packages under "start". (xtal8, #1994) @@ -218,16 +239,30 @@ 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? +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) + Check_external_diff() is used too often. (Daniel Hahler, #4800) Incorrect formatting with autoindent. (Sebastian Gniazdowski, #4909) -Patch to sort buffers on b_last_used time. (Andy Massimino, #4722) -Needs a test. +Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12) +Updated 2016 Jun 10, #858 Update 2017 Mar 28: use <buffer> Errors found with random data: heap-buffer-overflow in alist_add (#2472) +Patch to support CamelCase for spell checking: See a lower-to-upper case +change as a word boundary. (btucker-MPCData, 2016 Nov 6, #1235) +patch for 'spellcamelcase' option: spellcheck each CamelCased word. +(Ben Tucker, 2016 Dec 2) + +Patch to add {skip} argument to search(). (Christian Brabandt, 2016 Feb 24) +Update 2016 Jun 10, #861 + +Patch to add "cmdline" completion to getcompletion(). (Shougo, Oct 1, #1140) + Improve fallback for menu translations, to avoid having to create lots of files that source the actual file. E.g. menu_da_de -> menu_da Include part of #3242? @@ -235,7 +270,21 @@ Include part of #3242? When a terminal exit_cb closes the window, a following typed key is lost, if it's in a mapping. (2018 Oct 6, #2302, #3522) -Patch for Inno Setup: #2739 +Patch to have text objects defined by arbitrary single characters. (Daniel +Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31) +Added tests (James McCoy, 2016 Aug 3, #958). Still needs more work. + +Patch for multi-byte characters in langmap and applying a mapping on them. +(Christian Brabandt, 2015 Jun 12, update July 25) +Is this the right solution? Need to cleanup langmap behavior: +- in vgetorpeek() apply langmap to the typeahead buffer and put the result in + a copy-buffer, only when langmap is appropriate for the current mode. Then + check for mapping and let gotchars() work on the copy-buffer. +- Remove LANGMAP_ADJUST() in other parts of the code. Make sure the mode is + covered by the above change. +So that replaying the register doesn't use keymap/langmap and still does the +same thing. Remarks on PR #543 (Roland Puntaier). +Also see #737: langmap not applied to replaying recording. Would be nice to set tab-local values for 'diffexpr' and 'diffopt'. Use t:diffexpr_option t:diffopt_option? (#4782) @@ -256,6 +305,11 @@ Give a few examples. (#4288) Opening a file with --remote-tab-silent that matches 'wildignore' does not work, results in (E479: No match". (#4610) +Patch for this (Tristan Konolige, #1011, only adds the option, no implem.): +7 Add an option to add one pixel column to the character width? Lucida + Console italic is wider than the normal font ("d" overlaps with next char). + Opposite of 'linespace': 'columnspace'. + Bug: script written with "-W scriptout" contains Key codes, while the script read with "-s scriptin" expects escape codes. Probably "scriptout" needs to be adjusted. (Daniel Steinberg, 2019 Feb 24, #4041) @@ -371,11 +425,6 @@ Not existing directory in CDPATH leads to two shell calls. (#4525) Use dict_iterate_start() / dict_iterate_next() instead of relying on the internals of the dict structure. -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. -Motif: Build on Ubuntu can't enter any text in dialog text fields. - nvo-mode mapping works on Windows, not on Linux. (#3678) Missing tests for: @@ -534,7 +583,7 @@ When the last line wraps, selecting with the mouse below that line only includes the first screen line. (2018 Aug 23, #3368) Refactored HTML indent file. (Michael Lee, #1821) -Ask to write a test first. +Asked to write a test. MS-Windows: .lnk file not resolved properly when 'encoding' is set. (lkintact, 2018 Sep 22, #3473) @@ -621,9 +670,6 @@ pass an expression to evaluate. Allow passing zero for "never skip". Add an option similar to 'lazyredraw' to skip redrawing while executing a script or function. -Universal solution to detect if t_RS is working, using cursor position. -Koichi Iwamoto, #2126 - When using a menu item while the "more" prompt is displayed doesn't work well. E.g. after using help->version. Have a key that ends the "more" prompt and does nothing otherwise? @@ -820,15 +866,8 @@ The ":move" command does not honor closed folds. (Ryan Lue, #2351) Patch to fix increment/decrement not working properly when 'virtualedit' is set. (Hirohito Higashi, 2016 Aug 1, #923) -Patch to make gM move to middle of line. (Yasuhiro Matsumoto, Sep 8, #2070) - Cannot copy modeless selection when cursor is inside it. (lkintact, #2300) -Include Haiku port. (Adrien Destugues, Siarzhuk Zharski, 2013 Oct 24) -It can replace the BeOS code, which is likely not used anymore. -Now on github: #1856. Updated Oct 2017 -Got permission to include this under the Vim license. - Test_writefile_fails_conversion failure on Solaris because if different iconv behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872) @@ -925,8 +964,6 @@ Memory leak in test97? The string is actually freed. Weird. assert_fails() can only check for the first error. Make it possible to have it catch multiple errors and check all of them. -New value "uselast" for 'switchbuf'. (Lemonboy, 2017 Apr 23, #1652) - Add a toolbar in the terminal. Can be global, above all windows, or specific for one window. @@ -1069,10 +1106,6 @@ Patch to make it possible to extend a list with itself. Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24) -Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275) - -Patch to change argument of :marks. (LemonBoy, 2017 Jan 29, #1426) - On Windows buffer completion sees backslash as escape char instead of path separator. (Toffanim, 2016 Nov 24, #1274) @@ -1172,8 +1205,6 @@ Regexp problems: Another one: echom matchstr(" sdfsfsf\n sfdsdfsdf",'[^\n]*') (2017 May 15, #1252) -Patch to add "cmdline" completion to getcompletion(). (Shougo, Oct 1, #1140) - Feature request: Complete members of a dictionary. (Luc Hermitte, 2017 Jan 4, #1350) @@ -1189,11 +1220,6 @@ Include the test. When 'keywordprg' starts with ":" the argument is still escaped as a shell command argument. (Romain Lafourcade, 2016 Oct 16, #1175) -Patch to support CamelCase for spell checking: See a lower-to-upper case -change as a word boundary. (btucker-MPCData, 2016 Nov 6, #1235) -patch for 'spellcamelcase' option: spellcheck each CamelCased word. -(Ben Tucker, 2016 Dec 2) - Idea from Sven: record sequence of keys. Useful to show others what they are doing (look over the shoulder), and also to see what happened. Probably list of keystrokes, with some annotations for mode changes. @@ -1276,9 +1302,6 @@ Reject the value? #710. When doing "vi buf.md" a BufNew autocommand for *.md is not triggered. Because of using the initial buffer? (Dun Peal, 2016 May 12) -Patch to add the :bvimgrep command. (Christian Brabandt, 2014 Nov 12) -Updated 2016 Jun 10, #858 Update 2017 Mar 28: use <buffer> - Add redrawtabline command. (Naruhiko Nishino, 2016 Jun 11) Neovim patch for utfc_ptr2char_len() https://github.com/neovim/neovim/pull/4574 @@ -1340,10 +1363,6 @@ Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4) Test object i{ and it do not behave the same. #1379 Do not include the linebreak at the start? -Patch to have text objects defined by arbitrary single characters. (Daniel -Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31) -Added tests (James McCoy, 2016 Aug 3). Still needs more work. - Feature request: add the "al" text object, to manipulate a screen line. Especially useful when using 'linebreak' @@ -1359,9 +1378,6 @@ If ":bd" also closes a Tab page then the " mark is not set. (Harm te Hennepe, Patch to avoid redrawing tabline when the popup menu is visible. (Christian Brabandt, 2016 Jan 28) -Patch to add {skip} argument to search(). (Christian Brabandt, 2016 Feb 24) -Update 2016 Jun 10, #861 - Patch to show search statistics. (Christian Brabandt, 2016 Jul 22) When the CursorMovedI event triggers, and CTRL-X was typed, a script cannot @@ -1480,18 +1496,6 @@ Patch to fix checking global option value when not using it. When 'showbreak' is set repeating a Visual operation counts the size of the 'showbreak' text as part of the operation. (Axel Bender, 2015 Jul 20) -Patch for multi-byte characters in langmap and applying a mapping on them. -(Christian Brabandt, 2015 Jun 12, update July 25) -Is this the right solution? Need to cleanup langmap behavior: -- in vgetorpeek() apply langmap to the typeahead buffer and put the result in - a copy-buffer, only when langmap is appropriate for the current mode. Then - check for mapping and let gotchars() work on the copy-buffer. -- Remove LANGMAP_ADJUST() in other parts of the code. Make sure the mode is - covered by the above change. -So that replaying the register doesn't use keymap/langmap and still does the -same thing. Remarks on issue 543 (Roland Puntaier). -Also see #737: langmap not applied to replaying recording. - Patch to add grepfile(). (Scott Prager, 2015 May 26) Work in progress. @@ -3306,9 +3310,6 @@ Win32 GUI known bugs: 8 When the 'shell' cannot be executed, should give an appropriate error msg. Esp. for a filter command, currently it only complains the file could not be read. -7 Add an option to add one pixel column to the character width? Lucida - Console italic is wider than the normal font ("d" overlaps with next char). - Opposite of 'linespace': 'columnspace'. 7 At the hit-enter prompt scrolling now no longer works. Need to use the keyboard to get around this. Pretend <CR> was hit when the user tries to scroll? diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 9e290dd84a..d5df0f282b 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 8.1. Last change: 2019 Jul 06 +*usr_41.txt* For Vim version 8.1. Last change: 2019 Sep 23 VIM USER MANUAL - by Bram Moolenaar @@ -856,6 +856,7 @@ Insert mode completion: *completion-functions* complete_check() check if completion should be aborted complete_info() get current completion information pumvisible() check if the popup menu is displayed + pum_getpos() position and size of popup menu if visible Folding: *folding-functions* foldclosed() check for a closed fold at a specific line diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt index cb3b241e26..8872103b19 100644 --- a/runtime/doc/vi_diff.txt +++ b/runtime/doc/vi_diff.txt @@ -1,4 +1,4 @@ -*vi_diff.txt* For Vim version 8.1. Last change: 2019 May 13 +*vi_diff.txt* For Vim version 8.1. Last change: 2019 Sep 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -703,7 +703,7 @@ first character). CTRL-A works like CTRL-@ but does not leave insert mode. -CTRL-R {0-9a-z..} can be used to insert the contents of a register. +CTRL-R {register} can be used to insert the contents of a register. When the 'smartindent' option is set, C programs will be better auto-indented. With 'cindent' even more. diff --git a/runtime/filetype.vim b/runtime/filetype.vim index b6252c82f2..fce4825882 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2019 Aug 26 +" Last Change: 2019 Sep 27 " Listen very carefully, I will say this only once if exists("did_load_filetypes") diff --git a/runtime/ftplugin/bash.vim b/runtime/ftplugin/bash.vim index a3d01fc2ad..7bd9787b6c 100644 --- a/runtime/ftplugin/bash.vim +++ b/runtime/ftplugin/bash.vim @@ -11,21 +11,10 @@ if exists("b:did_ftplugin") finish |