diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-01 20:44:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-01 20:44:53 +0200 |
commit | f55e4c867f774d1f27973d06b07b97c0a4d6b968 (patch) | |
tree | 11ade42ed16b0789073602e38dd860c9ac608ee6 | |
parent | 20e6cd07baed8992e7a509ccef7f111ffcded44d (diff) |
Updated runtime files
-rw-r--r-- | runtime/doc/develop.txt | 9 | ||||
-rw-r--r-- | runtime/doc/editing.txt | 4 | ||||
-rw-r--r-- | runtime/doc/ft_rust.txt | 6 | ||||
-rw-r--r-- | runtime/doc/gui_x11.txt | 4 | ||||
-rw-r--r-- | runtime/doc/index.txt | 5 | ||||
-rw-r--r-- | runtime/doc/intro.txt | 9 | ||||
-rw-r--r-- | runtime/doc/options.txt | 18 | ||||
-rw-r--r-- | runtime/doc/pi_getscript.txt | 4 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 3 | ||||
-rw-r--r-- | runtime/doc/remote.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 16 | ||||
-rw-r--r-- | runtime/doc/terminal.txt | 53 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 45 | ||||
-rw-r--r-- | runtime/ftplugin/zsh.vim | 12 | ||||
-rw-r--r-- | runtime/lang/menu_ca_es.latin1.vim | 17 | ||||
-rw-r--r-- | runtime/optwin.vim | 4 | ||||
-rw-r--r-- | runtime/syntax/hitest.vim | 13 | ||||
-rw-r--r-- | runtime/syntax/zsh.vim | 194 | ||||
-rw-r--r-- | runtime/tutor/tutor.ca | 560 | ||||
-rw-r--r-- | src/INSTALLpc.txt | 5 | ||||
-rw-r--r-- | src/po/README.txt | 2 | ||||
-rw-r--r-- | src/po/ca.po | 4134 | ||||
-rw-r--r-- | src/po/de.po | 935 |
23 files changed, 3377 insertions, 2679 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index dc49c0992b..ed4e9e38ba 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -1,4 +1,4 @@ -*develop.txt* For Vim version 8.0. Last change: 2017 Jan 05 +*develop.txt* For Vim version 8.0. Last change: 2017 Jul 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -143,9 +143,10 @@ and its environment. VIM IS... NOT *design-not* -- Vim is not a shell or an Operating System. You will not be able to run a - shell inside Vim or use it to control a debugger. This should work the - other way around: Use Vim as a component from a shell or in an IDE. +- Vim is not a shell or an Operating System. It does provide a terminal + window, in which you can run a shell or debugger. E.g. to be able to do + this over an ssh connection. But if you don't need a text editor with that + it is out of scope (use something like screen or tmux instead). A satirical way to say this: "Unlike Emacs, Vim does not attempt to include everything but the kitchen sink, but some people say that you can clean one with it. ;-)" diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index bcd86a1a5e..e4433d657d 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 8.0. Last change: 2017 Jul 16 +*editing.txt* For Vim version 8.0. Last change: 2017 Aug 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1737,7 +1737,7 @@ There are three different types of searching: This searches the same directories, but in a different order. Note that completion for ":find", ":sfind", and ":tabfind" commands do not - currently work with 'path' items that contain a url or use the double star + currently work with 'path' items that contain a URL or use the double star with depth limiter (/usr/**2) or upward search (;) notations. vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/doc/ft_rust.txt b/runtime/doc/ft_rust.txt index c2e21e40bb..71e3027ceb 100644 --- a/runtime/doc/ft_rust.txt +++ b/runtime/doc/ft_rust.txt @@ -116,13 +116,13 @@ g:rustfmt_options~ *g:rust_playpen_url* g:rust_playpen_url~ - Set this option to override the url for the playpen to use: > + Set this option to override the URL for the playpen to use: > let g:rust_playpen_url = 'https://play.rust-lang.org/' < *g:rust_shortener_url* g:rust_shortener_url~ - Set this option to override the url for the url shortener: > + Set this option to override the URL for the URL shortener: > let g:rust_shortener_url = 'https://is.gd/' < @@ -199,7 +199,7 @@ COMMANDS *rust-commands* |g:rust_playpen_url| is the base URL to the playpen, by default "https://play.rust-lang.org/". - |g:rust_shortener_url| is the base url for the shorterner, by + |g:rust_shortener_url| is the base URL for the shorterner, by default "https://is.gd/" :RustFmt *:RustFmt* diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt index fd2ef56824..2bf7302eea 100644 --- a/runtime/doc/gui_x11.txt +++ b/runtime/doc/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 8.0. Last change: 2017 Jun 27 +*gui_x11.txt* For Vim version 8.0. Last change: 2017 Jul 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -673,7 +673,7 @@ Of these three, Vim uses PRIMARY when reading and writing the "* register register. Vim does not access the SECONDARY selection. Examples: (assuming the default option values) -- Select an URL in Visual mode in Vim. Go to your browser and click the +- Select a URL in Visual mode in Vim. Go to your browser and click the middle mouse button in the URL text field. The selected text will be inserted (hopefully!). Note: in Firefox you can set the middlemouse.contentLoadURL preference to true in about:config, then the diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index f4f40618ff..a0425b741c 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 8.0. Last change: 2017 Jul 16 +*index.txt* For Vim version 8.0. Last change: 2017 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -528,8 +528,10 @@ tag command action in Normal mode ~ |CTRL-W_CTRL-]| CTRL-W CTRL-] same as "CTRL-W ]" |CTRL-W_CTRL-^| CTRL-W CTRL-^ same as "CTRL-W ^" |CTRL-W_CTRL-_| CTRL-W CTRL-_ same as "CTRL-W _" +|CTRL-W_quote| CTRL-W " terminal window: paste register |CTRL-W_+| CTRL-W + increase current window height N lines |CTRL-W_-| CTRL-W - decrease current window height N lines +|CTRL-W_.| CTRL-W . terminal window: type CTRL-W |CTRL-W_:| CTRL-W : same as |:|, edit a command line |CTRL-W_<| CTRL-W < decrease current window width N columns |CTRL-W_=| CTRL-W = make all windows the same height & width @@ -538,6 +540,7 @@ tag command action in Normal mode ~ |CTRL-W_J| CTRL-W J move current window to the very bottom |CTRL-W_K| CTRL-W K move current window to the very top |CTRL-W_L| CTRL-W L move current window to the far right +|CTRL-W_N| CTRL-W N terminal window: go to Terminal mode |CTRL-W_P| CTRL-W P go to preview window |CTRL-W_R| CTRL-W R rotate windows upwards N times |CTRL-W_S| CTRL-W S same as "CTRL-W s" diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index 2488a66970..9e62251b25 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -1,4 +1,4 @@ -*intro.txt* For Vim version 8.0. Last change: 2017 Jul 17 +*intro.txt* For Vim version 8.0. Last change: 2017 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -566,7 +566,7 @@ Ex mode Like Command-line mode, but after entering a command you remain in Ex mode. Very limited editing of the command line. |Ex-mode| -There are six ADDITIONAL modes. These are variants of the BASIC modes: +There are seven ADDITIONAL modes. These are variants of the BASIC modes: *Operator-pending* *Operator-pending-mode* Operator-pending mode This is like Normal mode, but after an operator @@ -592,6 +592,11 @@ Insert Normal mode Entered when CTRL-O given in Insert mode. This is If the 'showmode' option is on "-- (insert) --" is shown at the bottom of the window. +Terminal Normal mode Using Normal mode in a terminal window. Making + changes is impossible. Use a insert command, such as + "a" or "i", to return control to the job running in + the terminal. Also called |Terminal-mode|. + Insert Visual mode Entered when starting a Visual selection from Insert mode, e.g., by using CTRL-O and then "v", "V" or CTRL-V. When the Visual selection ends, Vim returns diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0a70e13ebf..73955f4ba8 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.0. Last change: 2017 Jul 23 +*options.txt* For Vim version 8.0. Last change: 2017 Jul 31 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4040,7 +4040,8 @@ A jump table for the options with a short description can be found at |Q_op|. L:SpellLocal,-:Conceal,+:Pmenu,=:PmenuSel, x:PmenuSbar,X:PmenuThumb,*:TabLine, #:TabLineSel,_:TabLineFill,!:CursorColumn, - .:CursorLine,o:ColorColumn,q:QuickFixLine") + .:CursorLine,o:ColorColumn,q:QuickFixLine, + $:StatusLineTerm") global {not in Vi} This option can be used to set highlighting mode for various @@ -7753,14 +7754,17 @@ A jump table for the options with a short description can be found at |Q_op|. NOTE: This option is reset when 'compatible' is set. *'termkey'* *'tk'* -'termkey' 'tk' string (default "CTRL-W") +'termkey' 'tk' string (default "") local to window {not in Vi} - The key that precedes a Vim command in a terminal window. Other keys + The key that starts a CTRL-W command in a terminal window. Other keys are sent to the job running in the window. - The string must be one key stroke but can be multiple bytes. - NOT IMPLEMENTED YET - + The <> notation can be used, e.g.: > + :set termkey=<C-L> +< The string must be one key stroke but can be multiple bytes. + When not set CTRL-W is used, so that CTRL-W : gets you to the command + line. If 'termkey' is set to CTRL-L then CTRL-L : gets you to the + command line. *'termsize'* *'tms'* 'termsize' 'tms' string (default "") diff --git a/runtime/doc/pi_getscript.txt b/runtime/doc/pi_getscript.txt index 66d11ab206..1629a9103e 100644 --- a/runtime/doc/pi_getscript.txt +++ b/runtime/doc/pi_getscript.txt @@ -1,4 +1,4 @@ -*pi_getscript.txt* For Vim version 7.0. Last change: 2013 Nov 29 +*pi_getscript.txt* For Vim version 7.0. Last change: 2017 Aug 01 > GETSCRIPT REFERENCE MANUAL by Charles E. Campbell < @@ -389,7 +389,7 @@ v36 Apr 22, 2013 : * (glts) suggested use of plugin/**/*.vim instead of plugin/*.vim in globpath() call. * (Andy Wokula) got warning message when setting g:loaded_getscriptPlugin -v35 Apr 07, 2012 : * (MengHuan Yu) pointed out that the script url has +v35 Apr 07, 2012 : * (MengHuan Yu) pointed out that the script URL has changed (somewhat). However, it doesn't work, and the original one does (under Linux). I'll make it yet-another-option. diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index bf427a13bb..00075b37cc 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 8.0. Last change: 2017 Jul 15 +*quickref.txt* For Vim version 8.0. Last change: 2017 Aug 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -954,6 +954,7 @@ Short explanation of each option: *option-list* 'viewdir' 'vdir' directory where to store files with :mkview 'viewoptions' 'vop' specifies what to save for :mkview 'viminfo' 'vi' use .viminfo file upon startup and exiting +'viminfofile' 'vif' file name used for the viminfo file 'virtualedit' 've' when to use virtual editing 'visualbell' 'vb' use visual bell instead of beeping 'warn' warn for shell command when buffer was changed diff --git a/runtime/doc/remote.txt b/runtime/doc/remote.txt index cecdd6a8a4..dfae64effe 100644 --- a/runtime/doc/remote.txt +++ b/runtime/doc/remote.txt @@ -1,4 +1,4 @@ -*remote.txt* For Vim version 8.0. Last change: 2017 Mar 18 +*remote.txt* For Vim version 8.0. Last change: 2017 Aug 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -99,7 +99,7 @@ Tell the remote server "BLA" to write all files and exit: > vim --servername BLA --remote-send '<C-\><C-N>:wqa<CR>' -SERVER NAME +SERVER NAME *client-server-name* By default Vim will try to register the name under which it was invoked (gvim, egvim ...). This can be overridden with the --servername argument. If the diff --git a/runtime/doc/tags b/runtime/doc/tags index 278268792c..831bdaa628 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -3535,6 +3535,7 @@ CTRL-V-alternative gui_w32.txt /*CTRL-V-alternative* CTRL-W index.txt /*CTRL-W* CTRL-W_+ windows.txt /*CTRL-W_+* CTRL-W_- windows.txt /*CTRL-W_-* +CTRL-W_. terminal.txt /*CTRL-W_.* CTRL-W_: windows.txt /*CTRL-W_:* CTRL-W_< windows.txt /*CTRL-W_<* CTRL-W_<BS> windows.txt /*CTRL-W_<BS>* @@ -3574,6 +3575,7 @@ CTRL-W_H windows.txt /*CTRL-W_H* CTRL-W_J windows.txt /*CTRL-W_J* CTRL-W_K windows.txt /*CTRL-W_K* CTRL-W_L windows.txt /*CTRL-W_L* +CTRL-W_N terminal.txt /*CTRL-W_N* CTRL-W_P windows.txt /*CTRL-W_P* CTRL-W_R windows.txt /*CTRL-W_R* CTRL-W_S windows.txt /*CTRL-W_S* @@ -3601,6 +3603,7 @@ CTRL-W_n windows.txt /*CTRL-W_n* CTRL-W_o windows.txt /*CTRL-W_o* CTRL-W_p windows.txt /*CTRL-W_p* CTRL-W_q windows.txt /*CTRL-W_q* +CTRL-W_quote terminal.txt /*CTRL-W_quote* CTRL-W_r windows.txt /*CTRL-W_r* CTRL-W_s windows.txt /*CTRL-W_s* CTRL-W_t windows.txt /*CTRL-W_t* @@ -4531,6 +4534,7 @@ E942 eval.txt /*E942* E943 message.txt /*E943* E944 pattern.txt /*E944* E945 pattern.txt /*E945* +E946 terminal.txt /*E946* E95 message.txt /*E95* E96 diff.txt /*E96* E97 diff.txt /*E97* @@ -4772,6 +4776,7 @@ TabNew autocmd.txt /*TabNew* Tcl if_tcl.txt /*Tcl* TermChanged autocmd.txt /*TermChanged* TermResponse autocmd.txt /*TermResponse* +Terminal-mode terminal.txt /*Terminal-mode* TextChanged autocmd.txt /*TextChanged* TextChangedI autocmd.txt /*TextChangedI* Transact-SQL ft_sql.txt /*Transact-SQL* @@ -5409,6 +5414,7 @@ cinoptions-values indent.txt /*cinoptions-values* clear-undo undo.txt /*clear-undo* clearmatches() eval.txt /*clearmatches()* client-server remote.txt /*client-server* +client-server-name remote.txt /*client-server-name* clientserver remote.txt /*clientserver* clipboard gui.txt /*clipboard* clipboard-autoselect options.txt /*clipboard-autoselect* @@ -8791,11 +8797,17 @@ tempname() eval.txt /*tempname()* term-dependent-settings term.txt /*term-dependent-settings* term-list syntax.txt /*term-list* term.txt term.txt /*term.txt* +term_getattr() eval.txt /*term_getattr()* +term_getcursor() eval.txt /*term_getcursor()* +term_getjob() eval.txt /*term_getjob()* +term_getline() eval.txt /*term_getline()* term_getsize() eval.txt /*term_getsize()* -term_open() eval.txt /*term_open()* +term_getstatus() eval.txt /*term_getstatus()* +term_gettitle() eval.txt /*term_gettitle()* +term_list() eval.txt /*term_list()* term_scrape() eval.txt /*term_scrape()* term_sendkeys() eval.txt /*term_sendkeys()* -term_setsize() eval.txt /*term_setsize()* +term_start() eval.txt /*term_start()* term_wait() eval.txt /*term_wait()* termcap term.txt /*termcap* termcap-changed version4.txt /*termcap-changed* diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index 1054037838..948ed8d8d0 100644 --- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Jul 30 +*terminal.txt* For Vim version 8.0. Last change: 2017 Aug 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -48,6 +48,9 @@ See |CTRL-W| for more commands. Special in the terminal window: *CTRL-W_.* *CTRL-W_N* CTRL-W . send a CTRL-W to the job in the terminal CTRL-W N go to Terminal Normal mode, see |Terminal-mode| + CTRL-W " {reg} paste register {reg} *CTRL-W_quote* + Also works with the = register to insert the result of + evaluating an expression. See option 'termkey' for specifying another key instead of CTRL-W that will work like CTRL-W. However, typing 'termkey' twice sends 'termkey' to @@ -76,21 +79,28 @@ Syntax ~ If [command] is not given the 'shell' option is used. A new buffer will be created, using [command] or - 'shell' as the name. If a buffer by this name already - exists a number is added in parenthesis. - E.g. if "gdb" exists the second terminal buffer will - use "gdb (1)". - - The window can be closed, in which case the buffer - becomes hidden. The command will not be stopped. The - `:buffer` command can be used to turn the current - window into a terminal window, using the existing - buffer. If there are unsaved changes this fails, use - ! to force, as usual. + 'shell' as the name, prefixed with a "!". If a buffer + by this name already exists a number is added in + parenthesis. E.g. if "gdb" exists the second terminal + buffer will use "!gdb (1)". When the buffer associated with the terminal is wiped out the job is killed, similar to calling `job_stop(job, "kill")` +So long as the job is running: If the window is closed the buffer becomes +hidden. The command will not be stopped. The `:buffer` command can be used +to turn the current window into a terminal window. If there are unsaved +changes this fails, use ! to force, as usual. + +When the job has finished and no changes were made to the buffer: closing the +window will wipe out the buffer. + +Before changes can be made to a terminal buffer, the 'modifiable' option must +be set. This is only possible when the job has finished. At the first change +the buffer will become a normal buffer and the highlighting is removed. +You may want to change the buffer name with |:file| to be able to write, since +the buffer name will still be set to the command. + Resizing ~ @@ -138,6 +148,23 @@ Unix ~ On Unix a pty is used to make it possible to run all kinds of commands. You can even run Vim in the terminal! That's used for debugging, see below. +Environment variables are used to pass information to the running job: + TERM name of the terminal, 'term' + ROWS number of rows in the terminal initially + LINES same as ROWS + COLUMNS number of columns in the terminal initially + COLORS number of colors, 't_Co' (256*256*256 in the GUI) + VIM_SERVERNAME v:servername + +The |client-server| feature can be used to communicate with the Vim instance +where the job was started. This only works when v:servername is not empty. +If needed you can set it with: > + call remote_startserver('vim-server') + +In the job you can then do something like: > + vim --servername $VIM_SERVERNAME --remote +123 some_file.c +This will open the file "some_file.c" and put the cursor on line 123. + MS-Windows ~ @@ -191,7 +218,7 @@ This opens three windows: This uses two terminal windows. To open the gdb window: > :term gdb [arguments] -To open the terminal to run the tested program |term_open()| is used. +To open the terminal to run the tested program |term_start()| is used. TODO diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 53b0bdd3f2..3f20e1bea0 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.0. Last change: 2017 Jul 22 +*todo.txt* For Vim version 8.0. Last change: 2017 Aug 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -35,6 +35,8 @@ entered there will not be repeated below, unless there is extra information. *known-bugs* -------------------- Known bugs and current work ----------------------- +Check out coverity reports. + No maintainer for Vietnamese translations. No maintainer for Simplified Chinese translations. @@ -43,7 +45,8 @@ Terminal emulator window: - Lots of stuff to implement, see src/terminal.c - Running a shell command from the GUI still has limitations. Look into how the terminal emulator of the Vim shell project can help: - http://vimshell.wana.at + http://code.hootsuite.com/vimshell/ +- Add winpty.dll and winpty-agent.exe in the NSIS build. - Add debugger interface. Implementation for gdb by Xavier de Gaye. Should work like an IDE. Try to keep it generic. Now found here: http://clewn.sf.net. @@ -52,9 +55,6 @@ Terminal emulator window: - make it possible to have 'defineAnnoType' also handle terminal colors. - send 'balloonText' events for the cursor position (using CursorHold ?) in terminal mode. -- Feature: switch between "running job" and a normal buffer (possibly - read-only) to allow for searching, copy/paste, etc. (Domnique). Having a - (large) scrollback would be useful. +channel: - Try out background make plugin: @@ -125,6 +125,9 @@ Regexp problems: Another one: echom matchstr(" sdfsfsf\n sfdsdfsdf",'[^\n]*') (2017 May 15, #1252) +test_gui fails with gnome2: cannot create .gnome2 dir + use testdir/Xfakehome instead of does/not/exist? + Patch for quickfix: parse lines for any quickfix list. (Yegappan Lakshmanan, 2017 Jul 20) @@ -138,6 +141,8 @@ ml_get errors with buggy script. (Dominique, 2017 Apr 30) Error in emsg with buggy script. (Dominique, 2017 Apr 30) +Patch for Murphi syntax. (Matthew Fernandez, 2017 Jul 24) + Better detection of strace file. (Steven Fernandez, 2017 Jul 12, #1837) Bug with conceal mode: 3rd element returned by synconcealed() differs for @@ -147,6 +152,11 @@ Add options_default() / options_restore() to set several options to Vim defaults for a plugin. Comments from Zyx, 2017 May 10. Perhaps use a vimcontext / endvimcontext command block. +Signs drawn on top of messages. (worp, #1907) + +Folds open when job writes to another buffer. (Jonathan Fudger, 2017 Jul 31) +Already fixed? + Illegal memory access, requires ASAN to see. (Dominique Pelle, 2015 Jul 28) Still happens (2017 Jul 9) @@ -154,12 +164,15 @@ Memory leak in test_arabic. 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. Is not up-to-date. +Now on github: #1856. Is now up-to-date? Refactored HTML indent file. (Michael Lee, #1821) Using uninitialzed value in test_crypt. +Test_writefile_fails_conversion failure on Solaris because if different iconv +behavior. Skip when "uname" returns "SunOS"? (Pavel Heimlich, #1872) + All functions are global, which makes functions like get() and len() awkward. For the future use the ~get() and ~len() syntax, e.g.: mylist~get(idx) @@ -178,10 +191,19 @@ clip_x11_request_selection_cb() is called with zero value and length. Also: Get an error message from free() in the process that owns the selection. Seems to happen when the selection is requested the second time, but before clip_x11_convert_selection_cb() is invoked, thus in X library code. -Patch to fix this by Kiichi, 2017 Jul 11, #1822) +Kazunobu Kuriyama is working on a proper fix. (2017 Jul 25) Problem with three-piece comment. (Michael Lee, 2017 May 11, #1696) +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 +terminal.c and then CTRL-N twice. +Should do current file first and not split it up when more results are found. +(Also #1890) + +Python: After "import vim" error messages only show the first line of the +stack trace. (Yggdroot, 2017 Jul 28, #1887) + When checking if a bufref is valid, also check the buffer number, to catch the case of :bwipe followed by :new. @@ -189,7 +211,7 @@ Patch to skip writing a temp file for diffing if the buffer is equal to the existing file. (Akria Sheng, 2017 Jul 22) Could also skip writing lines that are the same. -Files for Latvian language. (Vitolins, 2017 May 3, #1675) +Patch with Files for Latvian language. (Vitolins, 2017 May 3, #1675) MS-Windows: Opening same file in a second gvim hangs. (Sven Bruggemann, 2017 Jul 4) @@ -237,6 +259,9 @@ Is it possible to keep the complete menu open when calling complete()? Memory leak in test97? The string is actually freed. Weird. +Patch to add configure flags to skip rtl, farsi and arabic support. +(Diego Carrión, #1867) + assert_fails() can only check for the first error. Make it possible to have it catch multiple errors and check all of them. @@ -5620,11 +5645,11 @@ Various improvements: - Support %name% expansion for "gf" on Windows. - Make "gf" work on "file://c:/path/name". "file:/c:/" and "file:///c:/" should also work? -- Add 'urlpath', used like 'path' for when "gf" used on an URL? +- Add 'urlpath', used like 'path' for when "gf" used on a URL? 8 When using "gf" on an absolute file name, while editing a remote file (starts with scp:// or http://) should prepend the method and machine name. -- When finding an URL or file name, and it doesn't exist, try removing a +- When finding a URL or file name, and it doesn't exist, try removing a trailing '.'. - Add ":path" command modifier. Should work for every command that takes a file name argument, to search for the file name in 'path'. Use diff --git a/runtime/ftplugin/zsh.vim b/runtime/ftplugin/zsh.vim index 6cbc380dc3..c03a9466a1 100644 --- a/runtime/ftplugin/zsh.vim +++ b/runtime/ftplugin/zsh.vim @@ -1,10 +1,10 @@ " Vim filetype plugin file -" Language: Zsh shell script -" Maintainer: Christian Brabandt <cb@256bit.org> -" Previous Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2015-05-29 -" License: Vim (see :h license) -" Repository: https://github.com/chrisbra/vim-zsh +" Language: Zsh shell script +" Maintainer: Christian Brabandt <cb@256bit.org> +" Previous Maintainer: Nikolai Weibull <now@bitwi.se> +" Latest Revision: 2015-05-29 +" License: Vim (see :h license) +" Repository: https://github.com/chrisbra/vim-zsh if exists("b:did_ftplugin") finish diff --git a/runtime/lang/menu_ca_es.latin1.vim b/runtime/lang/menu_ca_es.latin1.vim index 1d77dc926b..8c0a9e9a61 100644 --- a/runtime/lang/menu_ca_es.latin1.vim +++ b/runtime/lang/menu_ca_es.latin1.vim @@ -1,7 +1,7 @@ " Menu translations for Catalan " " Maintainer: Ernest Adrogué <eadrogue@gmx.net> -" Last Change: 6 Jun 2008 +" Last Change: 26 Jul 2017 " " Quit when menu translations have already been done. @@ -70,9 +70,9 @@ menutrans Settings\ &Window Fin&estra\ d'opcions menutrans Startup\ &Settings Opcions\ i&nicials menutrans &Global\ Settings Opcions\ &globals " submenú Edita/Opcions Globals - menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Ressalt\ de\ &patrons<Tab>:set\ hls! + menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! Ressaltat\ de\ &patrons<Tab>:set\ hls! menutrans Toggle\ &Ignore-case<Tab>:set\ ic! Sensibilitat\ a\ les\ ma&júscules<Tab>:set\ ic! - menutrans Toggle\ &Showmatch<Tab>:set\ sm! &Ressalt\ de\ coincidències<Tab>:set\ sm! + menutrans Toggle\ &Showmatch<Tab>:set\ sm! &Ressaltat\ de\ coincidències<Tab>:set\ sm! menutrans &Context\ lines Línies\ de\ co&ntext menutrans &Virtual\ Edit Edició\ &virtual " submenú Edita/Opcions Globals/Edició virtual @@ -191,7 +191,7 @@ menutrans &Diff &Diferències menutrans &Update &Actualitza menutrans &Get\ Block &Obtingues\ un\ bloc menutrans &Put\ Block &Posa\ un\ bloc -menutrans &Make<Tab>:make Crida\ a\ &make<Tab>:make +menutrans &Make<Tab>:make Crida\ &make<Tab>:make menutrans &List\ Errors<Tab>:cl Llista\ d'&errors<Tab>:cl menutrans L&ist\ Messages<Tab>:cl! &Llista\ de\ missatges<Tab>:cl! menutrans &Next\ Error<Tab>:cn Error\ se&güent<Tab>:cn @@ -203,8 +203,7 @@ menutrans Error\ &Window F&inestra\ d'errors menutrans &Update<Tab>:cwin &Actualitza<Tab>:cwin menutrans &Open<Tab>:copen &Obre<Tab>:copen menutrans &Close<Tab>:cclose &Tanca<Tab>:cclose -menutrans &Set\ Compiler &Compilador -menutrans &SeT\ Compiler &Compilador +menutrans Se&t\ Compiler &Compilador menutrans &Convert\ to\ HEX<Tab>:%!xxd Converteix\ a\ &HEX<Tab>:%!xxd menutrans Conve&rt\ back<Tab>:%!xxd\ -r Torna\ al\ format\ &original<Tab>:%!xxd\ -r @@ -303,14 +302,14 @@ menutrans &Syntax &Sintaxi menutrans &Manual &Manual menutrans A&utomatic A&utomàtica menutrans on/off\ for\ &This\ file Activa/Desactiva\ en\ &aquest\ fitxer -menutrans &Show\ filetypes\ in\ menu Mostra\ tots\ els\ &tipus\ al\ menú +menutrans &Show\ File\ Types\ in\ Menu Mostra\ tots\ els\ &tipus\ al\ menú menutrans &Off &Desactiva menutrans Co&lor\ test Prova\ dels\ &colors -menutrans &Highlight\ test Prova\ del\ &ressalt +menutrans &Highlight\ test Prova\ del\ &ressaltat menutrans &Convert\ to\ HTML Converteix\ a\ &HTML menutrans Assembly Ensamblador menutrans Config Configuració -menutrans Set\ '&syntax'\ only Només\ el\ ressalt\ de\ sintaxi +menutrans Set\ '&syntax'\ only Només\ el\ ressaltat\ de\ sintaxi menutrans Set\ '&filetype'\ too Carrega\ també\ els\ plugins let &cpo = s:keepcpo diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 3e5ef27178..1a9fa3abdc 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2017 Jul 15 +" Last Change: 2017 Aug 01 " If there already is an option window, jump to that one. if bufwinnr("option-window") > 0 @@ -1304,6 +1304,8 @@ endif if has("viminfo") call append("$", "viminfo\tlist that specifies what to write in the viminfo file") call <SID>OptionG("vi", &vi) + call append("$", "viminfofile\tfile name used for the viminfo file") + call <SID>OptionG("vif", &vif) endif if has("quickfix") call append("$", "bufhidden\twhat happens with a buffer when it's no longer in a window") diff --git a/runtime/syntax/hitest.vim b/runtime/syntax/hitest.vim index 7489101060..1e39451dcd 100644 --- a/runtime/syntax/hitest.vim +++ b/runtime/syntax/hitest.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: none; used to see highlighting " Maintainer: Ronald Schild <rs@scutum.de> -" Last Change: 2001 Sep 02 +" Last Change: 2017 Jul 28 " Version: 5.4n.1 " To see your current highlight settings, do @@ -111,17 +111,6 @@ endif nohlsearch normal 0 -" add autocommands to remove temporary file from buffer list -aug highlighttest - au! - au BufUnload Highlight\ test if expand("<afile>") == "Highlight test" - au BufUnload Highlight\ test bdelete! Highlight\ test - au BufUnload Highlight\ test endif - au VimLeavePre * if bufexists("Highlight test") - au VimLeavePre * bdelete! Highlight\ test - au VimLeavePre * endif -aug END - " we don't want to save this temporary file set nomodified diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim index c69ef153a0..e16e74e0c2 100644 --- a/runtime/syntax/zsh.vim +++ b/runtime/syntax/zsh.vim @@ -2,7 +2,7 @@ " Language: Zsh shell script " Maintainer: Christian Brabandt <cb@256bit.org> " Previous Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2017-04-10 +" Latest Revision: 2017-07-11 " License: Vim (see :h license) " Repository: https://github.com/chrisbra/vim-zsh @@ -134,7 +134,197 @@ syn keyword zshCommands alias autoload bg bindkey break bye cap cd syn case ignore syn match zshOptStart /^\s*\%(\%(\%(un\)\?setopt\)\|set\s+[-+]o\)/ nextgroup=zshOption skipwhite -syn match zshOption /\%(\%(no_\?\)\?aliases\)\|\%(\%(no_\?\)\?allexport\)\|\%(\%(no_\?\)\?all_export\)\|\%(\%(no_\?\)\?alwayslastprompt\)\|\%(\%(no_\?\)\?always_last_prompt\)\|\%(\%(no_\?\)\?always_lastprompt\)\|\%(\%(no_\?\)\?alwaystoend\)\|\%(\%(no_\?\)\?always_to_end\)\|\%(\%(no_\?\)\?appendcreate\)\|\%(\%(no_\?\)\?append_create\)\|\%(\%(no_\?\)\?appendhistory\)\|\%(\%(no_\?\)\?append_history\)\|\%(\%(no_\?\)\?autocd\)\|\%(\%(no_\?\)\?auto_cd\)\|\%(\%(no_\?\)\?autocontinue\)\|\%(\%(no_\?\)\?auto_continue\)\|\%(\%(no_\?\)\?autolist\)\|\%(\%(no_\?\)\?auto_list\)\|\%(\%(no_\?\)\?automenu\)\|\%(\%(no_\?\)\?auto_menu\)\|\%(\%(no_\?\)\?autonamedirs\)\|\%(\%(no_\?\)\?auto_name_dirs\)\|\%(\%(no_\?\)\?autoparamkeys\)\|\%(\%(no_\?\)\?auto_param_keys\)\|\%(\%(no_\?\)\?autoparamslash\)\|\%(\%(no_\?\)\?auto_param_slash\)\|\%(\%(no_\?\)\?autopushd\)\|\%(\%(no_\?\)\?auto_pushd\)\|\%(\%(no_\?\)\?autoremoveslash\)\|\%(\%(no_\?\)\?auto_remove_slash\)\|\%(\%(no_\?\)\?autoresume\)\|\%(\%(no_\?\)\?auto_resume\)\|\%(\%(no_\?\)\?badpattern\)\|\%(\%(no_\?\)\?bad_pattern\)\|\%(\%(no_\?\)\?banghist\)\|\%(\%(no_\?\)\?bang_hist\)\|\%(\%(no_\?\)\?bareglobqual\)\|\%(\%(no_\?\)\?bare_glob_qual\)\|\%(\%(no_\?\)\?bashautolist\)\|\%(\%(no_\?\)\?bash_auto_list\)\|\%(\%(no_\?\)\?bashrematch\)\|\%(\%(no_\?\)\?bash_rematch\)\|\%(\%(no_\?\)\?beep\)\|\%(\%(no_\?\)\?bgnice\)\|\%(\%(no_\?\)\?bg_nice\)\|\%(\%(no_\?\)\?braceccl\)\|\%(\%(no_\?\)\?brace_ccl\)\|\%(\%(no_\?\)\?braceexpand\)\|\%(\%(no_\?\)\?brace_expand\)\|\%(\%(no_\?\)\?bsdecho\)\|\%(\%(no_\?\)\?bsd_echo\)\|\%(\%(no_\?\)\?caseglob\)\|\%(\%(no_\?\)\?case_glob\)\|\%(\%(no_\?\)\?casematch\)\|\%(\%(no_\?\)\?case_match\)\|\%(\%(no_\?\)\?cbases\)\|\%(\%(no_\?\)\?c_bases\)\|\%(\%(no_\?\)\?cdablevars\)\|\%(\%(no_\?\)\?cdable_vars\)\|\%(\%(no_\?\)\?cd_able_vars\)\|\%(\%(no_\?\)\?chasedots\)\|\%(\%(no_\?\)\?chase_dots\)\|\%(\%(no_\?\)\?chaselinks\)\|\%(\%(no_\?\)\?chase_links\)\|\%(\%(no_\?\)\?checkjobs\)\|\%(\%(no_\?\)\?check_jobs\)\|\%(\%(no_\?\)\?clobber\)\|\%(\%(no_\?\)\?combiningchars\)\|\%(\%(no_\?\)\?combining_chars\)\|\%(\%(no_\?\)\?completealiases\)\|\%(\%(no_\?\)\?complete_aliases\)\|\%(\%(no_\?\)\?completeinword\)\|\%(\%(no_\?\)\?complete_in_w |