diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
commit | 818078ddfbb8cc2546f697c5675a251d095722ec (patch) | |
tree | 96d4917c3f1631e1a2e6919c6989b5b2fe84d003 /runtime | |
parent | 73d4e4c8922f6f4d256f910a18f47c0c3a48c28b (diff) | |
download | vim-git-818078ddfbb8cc2546f697c5675a251d095722ec.tar.gz |
Updated runtime files and translations.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/channel.txt | 9 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 1 | ||||
-rw-r--r-- | runtime/doc/index.txt | 6 | ||||
-rw-r--r-- | runtime/doc/map.txt | 9 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 8 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 23 | ||||
-rw-r--r-- | runtime/doc/various.txt | 8 | ||||
-rw-r--r-- | runtime/syntax/sh.vim | 6 |
9 files changed, 43 insertions, 31 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index f0c56e940..5cc214caf 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 7.4. Last change: 2016 Aug 26 +*channel.txt* For Vim version 7.4. Last change: 2016 Aug 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -395,6 +395,9 @@ This {string} can also be JSON, use |json_encode()| to create it and It is not possible to use |ch_evalexpr()| or |ch_sendexpr()| on a raw channel. +A String in Vim cannot contain NUL bytes. To send or receive NUL bytes read +or write from a buffer. See |in_io-buffer| and |out_io-buffer|. + ============================================================================== 7. More channel functions *channel-more* @@ -480,7 +483,7 @@ For example, to start a job and write its output in buffer "dummy": > Job input from a buffer ~ - + *in_io-buffer* To run a job that reads from a buffer: > let job = job_start({command}, \ {'in_io': 'buffer', 'in_name': 'mybuffer'}) @@ -654,7 +657,7 @@ See |job_setoptions()| and |ch_setoptions()|. Writing to a buffer ~ - + *out_io-buffer* When the out_io or err_io mode is "buffer" and there is a callback, the text is appended to the buffer before invoking the callback. diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fcf4929f9..d9ed848d4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -3272,6 +3272,7 @@ delete({fname} [, {flags}]) *delete()* When {flags} is "rf": Deletes the directory by the name {fname} and everything in it, recursively. BE CAREFUL! + A symbolic link itself is deleted, not what it points to. The result is a Number, which is 0 if the delete operation was diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index 6c9f45683..23ba59b9a 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 7.4. Last change: 2016 Aug 24 +*index.txt* For Vim version 7.4. Last change: 2016 Aug 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -984,7 +984,7 @@ tag command action in Command-line editing mode ~ |c_CTRL-E| CTRL-E cursor to end of command-line |'cedit'| CTRL-F default value for 'cedit': opens the command-line window; otherwise not used - CTRL-G not used +|c_CTRL-G| CTRL-G next match when 'incsearch' is active |c_<BS>| <BS> delete the character in front of the cursor |c_digraph| {char1} <BS> {char2} enter digraph when 'digraph' is on @@ -1017,7 +1017,7 @@ tag command action in Command-line editing mode ~ insert the contents of a register or object under the cursor literally CTRL-S (used for terminal control flow) - CTRL-T not used +|c_CTRL-T| CTRL-T previous match when 'incsearch' is active |c_CTRL-U| CTRL-U remove all characters |c_CTRL-V| CTRL-V insert next non-digit literally, insert three digit decimal number as a single byte. diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index f33cb5cfa..960cf2131 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.4. Last change: 2016 Jul 30 +*map.txt* For Vim version 7.4. Last change: 2016 Aug 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -431,6 +431,9 @@ with a space. Note: When using mappings for Visual mode, you can use the "'<" mark, which is the start of the last selected Visual area in the current buffer |'<|. +The |:filter| command can be used to select what mappings to list. The +pattern is matched against the {lhs} and {rhs} in the raw form. + *:map-verbose* When 'verbose' is non-zero, listing a key map will also display where it was last defined. Example: > @@ -1177,6 +1180,10 @@ scripts. " Command has the -register attribute b Command is local to current buffer (see below for details on attributes) + The list can be filtered on command name with + |:filter|, e.g., to list all commands with "Pyth" in + the name: > + filter Pyth command :com[mand] {cmd} List the user-defined commands that start with {cmd} diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index aaa487606..46a4c9f5e 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 7.4. Last change: 2016 Aug 23 +*starting.txt* For Vim version 7.4. Last change: 2016 Aug 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1632,7 +1632,7 @@ most of the information will be restored). afterwards with `:rviminfo!`. Also see |v:oldfiles|. The number can be used with |c_#<|. The output can be filtered with |:filter|, e.g.: > - filter /\\.vim/ oldfiles + filter /\.vim/ oldfiles < The filtering happens on the file name. {not in Vi, only when compiled with the |+eval| feature} diff --git a/runtime/doc/tags b/runtime/doc/tags index 791df4164..ae3b0cd3c 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -1597,9 +1597,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* /\{- pattern.txt /*\/\\{-* /\~ pattern.txt /*\/\\~* /^ pattern.txt /*\/^* +/_CTRL-G cmdline.txt /*\/_CTRL-G* /_CTRL-L cmdline.txt /*\/_CTRL-L* -/_CTRL-N cmdline.txt /*\/_CTRL-N* -/_CTRL-P cmdline.txt /*\/_CTRL-P* +/_CTRL-T cmdline.txt /*\/_CTRL-T* /atom pattern.txt /*\/atom* /bar pattern.txt /*\/bar* /branch pattern.txt /*\/branch* @@ -5176,6 +5176,7 @@ c_CTRL-C cmdline.txt /*c_CTRL-C* c_CTRL-D cmdline.txt /*c_CTRL-D* c_CTRL-E cmdline.txt /*c_CTRL-E* c_CTRL-F cmdline.txt /*c_CTRL-F* +c_CTRL-G cmdline.txt /*c_CTRL-G* c_CTRL-H cmdline.txt /*c_CTRL-H* c_CTRL-I cmdline.txt /*c_CTRL-I* c_CTRL-J cmdline.txt /*c_CTRL-J* @@ -5192,6 +5193,7 @@ c_CTRL-R_CTRL-O cmdline.txt /*c_CTRL-R_CTRL-O* c_CTRL-R_CTRL-P cmdline.txt /*c_CTRL-R_CTRL-P* c_CTRL-R_CTRL-R cmdline.txt /*c_CTRL-R_CTRL-R* c_CTRL-R_CTRL-W cmdline.txt /*c_CTRL-R_CTRL-W* +c_CTRL-T cmdline.txt /*c_CTRL-T* c_CTRL-U cmdline.txt /*c_CTRL-U* c_CTRL-V cmdline.txt /*c_CTRL-V* c_CTRL-W cmdline.txt /*c_CTRL-W* @@ -6863,6 +6865,7 @@ improvements-7 version7.txt /*improvements-7* improvements-8 version8.txt /*improvements-8* in_bot channel.txt /*in_bot* in_buf channel.txt /*in_buf* +in_io-buffer channel.txt /*in_io-buffer* in_mode channel.txt /*in_mode* in_name channel.txt /*in_name* in_top channel.txt /*in_top* @@ -7693,6 +7696,7 @@ os_win32.txt os_win32.txt /*os_win32.txt* other-features vi_diff.txt /*other-features* out_buf channel.txt /*out_buf* out_cb channel.txt /*out_cb* +out_io-buffer channel.txt /*out_io-buffer* out_mode channel.txt /*out_mode* out_name channel.txt /*out_name* out_timeout channel.txt /*out_timeout* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index b4e2193cc..e8f6048e3 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.4. Last change: 2016 Aug 26 +*todo.txt* For Vim version 7.4. Last change: 2016 Aug 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -35,15 +35,9 @@ not be repeated below, unless there is extra information. -------------------- Known bugs and current work ----------------------- Make ":filter" work with more commands. - -C highlighting: modern C allows /* comment */ #ifdef - -Ramel Eshed: system() is much slower than job_start(), why? (Aug 26) - -Error in viminfo. (John Chen, 2016 Aug 26, #1010) +Search for: msg_putchar('\n') +channel: -- Check that raw mode does NL-NUL conversion. - Implement |job-term| ? - Channel test fails with Motif. Sometimes kills the X11 server. - When a message in the queue but there is no callback, drop it after a while? @@ -111,9 +105,6 @@ Regexp problems: - Search for /\%d0\+ causes error E363 in a file with consecutive NUL characters. (Christian Brabandt, 2016 Jun 7) -getbufinfo() may return a lot of data. Select what to return? - remove variables, does that help? - json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23) What if there is an invalid character? @@ -126,10 +117,6 @@ Once .exe with updated installer is available: Add remark to download page about /S and /D options (Ken Takata, 2016 Apr 13) Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases -Problem with completion on "**/" in $path. (issue #932) -Happens in uniquefy_paths() ? More info Jul 22. -Fix for this (Harm te Hennepe, 2016 Jul 21, #939) - Cursor positioned in the wrong place when editing src/testdir/test_viml.vim. Javascript indent wrong after /* in single quoted string: @@ -194,6 +181,8 @@ Patch for restoring wide characters in the console buffer. We can use '. to go to the last change in the current buffer, but how about the last change in any buffer? Can we use ', (, is next to .)? +Ramel Eshed: system() is much slower than job_start(), why? (Aug 26) + Patch for Python: #622. (Roland Puntaier, 2016 Feb 2) What does it change? @@ -405,6 +394,10 @@ inconsistent with the documentation. Can we cache the syntax attributes, so that updates for 'relativenumber' and 'cursorline'/'cursorcolumn' are a lot faster? +C highlighting: modern C allows: /* comment */ #ifdef +and also line continuation after #include. +I can't recommend it though. + Build with Python on Mac does not always use the right library. (Kazunobu Kuriyama, 2015 Mar 28) diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index befc6aceb..cd122d54b 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 7.4. Last change: 2016 Aug 23 +*various.txt* For Vim version 7.4. Last change: 2016 Aug 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -91,6 +91,8 @@ g8 Print the hex values of the bytes used in the on paper see |:hardcopy|. In the GUI you can use the File.Print menu entry. See |ex-flags| for [flags]. + The |:filter| command can be used to only show lines + matching a pattern. :[range]p[rint] {count} [flags] Print {count} lines, starting with [range] (default @@ -528,7 +530,9 @@ N *+X11* Unix only: can restore window title |X11| :filt[er] {pat} {command} :filt[er] /{pat}/ {command} Restrict the output of {command} to matches with {pat}. - + For example, to list only xml files: > + :filter /\.xml$/ oldfiles +< {pat} is a Vim search pattern. Instead of enclosing it in / any non-ID character (see |'isident'|) can be used, so long as it does not appear in {pat}. Without diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim index 2fe13fbde..ef90ebea2 100644 --- a/runtime/syntax/sh.vim +++ b/runtime/syntax/sh.vim @@ -2,8 +2,8 @@ " Language: shell (sh) Korn shell (ksh) bash (sh) " Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz> " Previous Maintainer: Lennart Schultz <Lennart.Schultz@ecmwf.int> -" Last Change: Aug 23, 2016 -" Version: 161 +" Last Change: Aug 26, 2016 +" Version: 162 " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_SH " For options and settings, please use: :help ft-sh-syntax " This file includes many ideas from Eric Brunet (eric.brunet@ens.fr) @@ -500,7 +500,7 @@ syn match shDerefString contained "\\["']" nextgroup=shDerefPattern if exists("b:is_bash") " bash : ${parameter:offset} " bash : ${parameter:offset:length} - syn region shDerefOff contained start=':' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple + syn region shDerefOff contained start=':\ze[^-=?+]' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple syn region shDerefOff contained start=':\s-' end='\ze:' end='\ze}' contains=shDeref,shDerefSimple,shDerefEscape nextgroup=shDerefLen,shDeref,shDerefSimple syn match shDerefLen contained ":[^}]\+" contains=shDeref,shDerefSimple |