diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-11 08:57:33 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-11 08:57:33 +0200 |
commit | dc08328821a2c11e33dfb1980332e4923ec64fca (patch) | |
tree | 237125b7b303f9fdae53f8dfefe26d9ee99a8285 /runtime/doc | |
parent | dc0ccaee68ca24d10050117fbec757ad33590a17 (diff) | |
download | vim-git-dc08328821a2c11e33dfb1980332e4923ec64fca.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 36 | ||||
-rw-r--r-- | runtime/doc/tags | 4 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 26 |
4 files changed, 39 insertions, 31 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index eeea3aaf3..fad643de3 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4327,8 +4327,8 @@ A jump table for the options with a short description can be found at |Q_op|. original position when no match is found and when pressing <Esc>. You still need to finish the search command with <Enter> to move the cursor to the match. - You can use the CTRL-N and CTRL-P keys to move to the next and - previous match. |c_CTRL-N| |c_CTRL-P| + You can use the CTRL-G and CTRL-T keys to move to the next and + previous match. |c_CTRL-G| |c_CTRL-T| When compiled with the |+reltime| feature Vim only searches for about half a second. With a complicated pattern and/or a lot of text the match may not be found. This is to avoid that Vim hangs while you diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index ba739425b..ae80a44eb 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -2863,9 +2863,11 @@ vimrc file: > (Adapted from the html.vim help text by Claudio Fleiner <claudio@fleiner.com>) -SH *sh.vim* *ft-sh-syntax* *ft-bash-syntax* *ft-ksh-syntax* + *ft-posix-synax* *ft-dash-syntax* +SH *sh.vim* *ft-sh-syntax* *ft-bash-syntax* *ft-ksh-syntax* -This covers the "normal" Unix (Bourne) sh, bash and the Korn shell. +This covers syntax highlighting for the older Unix (Bourne) sh, and newer +shells such as bash, dash, posix, and the Korn shells. Vim attempts to determine which shell type is in use by specifying that various filenames are of specific types: > @@ -2874,28 +2876,31 @@ various filenames are of specific types: > bash: .bashrc* bashrc bash.bashrc .bash_profile* *.bash < If none of these cases pertain, then the first line of the file is examined -(ex. /bin/sh /bin/ksh /bin/bash). If the first line specifies a shelltype, -then that shelltype is used. However some files (ex. .profile) are known to -be shell files but the type is not apparent. Furthermore, on many systems -sh is symbolically linked to "bash" (Linux, Windows+cygwin) or "ksh" (Posix). +(ex. looking for /bin/sh /bin/ksh /bin/bash). If the first line specifies a +shelltype, then that shelltype is used. However some files (ex. .profile) are +known to be shell files but the type is not apparent. Furthermore, on many +systems sh is symbolically linked to "bash" (Linux, Windows+cygwin) or "ksh" +(Posix). -One may specify a global default by instantiating one of the following three +One may specify a global default by instantiating one of the following variables in your <.vimrc>: - ksh: > + ksh: > let g:is_kornshell = 1 -< posix: (using this is the same as setting is_kornshell to 1) > +< posix: (using this is the nearly the same as setting g:is_kornshell to 1) > let g:is_posix = 1 < bash: > let g:is_bash = 1 < sh: (default) Bourne shell > let g:is_sh = 1 +< (dash users should use posix) + If there's no "#! ..." line, and the user hasn't availed himself/herself of a default sh.vim syntax setting as just shown, then syntax/sh.vim will assume the Bourne shell syntax. No need to quote RFCs or market penetration statistics in error reports, please -- just select the default version of the -sh your system uses in your <.vimrc>. +sh your system uses and install the associated "let..." in your <.vimrc>. The syntax/sh.vim file provides several levels of syntax-based folding: > @@ -2904,7 +2909,7 @@ The syntax/sh.vim file provides several levels of syntax-based folding: > let g:sh_fold_enabled= 2 (enable heredoc folding) let g:sh_fold_enabled= 4 (enable if/do/for folding) > -then various syntax items (HereDocuments and function bodies) become +then various syntax items (ie. HereDocuments and function bodies) become syntax-foldable (see |:syn-fold|). You also may add these together to get multiple types of folding: > @@ -2928,14 +2933,7 @@ reduce this, the "sh_maxlines" internal variable can be set. Example: > The default is to use the twice sh_minlines. Set it to a smaller number to speed up displaying. The disadvantage is that highlight errors may appear. - *g:sh_isk* *g:sh_noisk* -The shell languages appear to let "." be part of words, commands, etc; -consequently it should be in the isk for sh.vim. As of v116 of syntax/sh.vim, -syntax/sh.vim will append the "." to |'iskeyword'| by default; you may control -this behavior with: > - let g:sh_isk = '..whatever characters you want as part of iskeyword' - let g:sh_noisk= 1 " otherwise, if this exists, the isk will NOT chg -< + *sh-embed* *sh-awk* Sh: EMBEDDING LANGUAGES~ diff --git a/runtime/doc/tags b/runtime/doc/tags index 5414fcc4f..72d480126 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -6027,6 +6027,7 @@ ft-csh-syntax syntax.txt /*ft-csh-syntax* ft-css-omni insert.txt /*ft-css-omni* ft-cweb-syntax syntax.txt /*ft-cweb-syntax* ft-cynlib-syntax syntax.txt /*ft-cynlib-syntax* +ft-dash-syntax syntax.txt /*ft-dash-syntax* ft-desktop-syntax syntax.txt /*ft-desktop-syntax* ft-dircolors-syntax syntax.txt /*ft-dircolors-syntax* ft-docbk-syntax syntax.txt /*ft-docbk-syntax* @@ -6087,6 +6088,7 @@ ft-php-syntax syntax.txt /*ft-php-syntax* ft-php3-syntax syntax.txt /*ft-php3-syntax* ft-phtml-syntax syntax.txt /*ft-phtml-syntax* ft-plaintex-syntax syntax.txt /*ft-plaintex-syntax* +ft-posix-synax syntax.txt /*ft-posix-synax* ft-postscr-syntax syntax.txt /*ft-postscr-syntax* ft-ppwiz-syntax syntax.txt /*ft-ppwiz-syntax* ft-printcap-syntax syntax.txt /*ft-printcap-syntax* @@ -6340,8 +6342,6 @@ g:netrw_win95ftp pi_netrw.txt /*g:netrw_win95ftp* g:netrw_winsize pi_netrw.txt /*g:netrw_winsize* g:netrw_wiw pi_netrw.txt /*g:netrw_wiw* g:netrw_xstrlen pi_netrw.txt /*g:netrw_xstrlen* -g:sh_isk syntax.txt /*g:sh_isk* -g:sh_noisk syntax.txt /*g:sh_noisk* g:syntax_on syntax.txt /*g:syntax_on* g:tar_browseoptions pi_tar.txt /*g:tar_browseoptions* g:tar_cmd pi_tar.txt /*g:tar_cmd* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 7fbc3b6c1..694545cf4 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.0. Last change: 2016 Oct 01 +*todo.txt* For Vim version 8.0. Last change: 2016 Oct 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -62,9 +62,6 @@ Regexp problems: (Manuel Ortega, 2016 Apr 24) Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on LC_CTYPE -- The regexp engines are not reentrant, causing havoc when interrupted by a - remote expression or something else. Move global variables onto the stack - or into an allocated struct. - The old engine does not find a match for "/\%#=1\(\)\{80}", the new engine matches everywhere. - Using win_linetabsize() can still be slow. Cache the result, store col and @@ -80,6 +77,7 @@ Regexp problems: - NFA regexp doesn't handle \%<v correctly. (Ingo Karkat, 2014 May 12) - Does not work with NFA regexp engine: \%u, \%x, \%o, \%d followed by a composing character +- Search for \%d0\+ may fail with E363. (Christian Brabandt, 2016 Oct 4) - \%'[ does not work. '%'] does work. (Masaaki Nakamura, 2016 Apr 4) - Bug relating to back references. (Ingo Karkat, 2014 Jul 24) - New RE does not give an error for empty group: "\(\)\{2}" (Dominique Pelle, @@ -112,6 +110,8 @@ Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17) Patch to recognize tmux. (Michael Henry, 2016 Sep 29) +Patch to fix escaping of job arguments. (Yasuhiro Matsumoto, 2016 Oct 5) + 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 @@ -140,17 +140,24 @@ Patch to make it possible to extend a list with itself. min() and max() spawn lots of error messages if sorted list/dictionary contains invalid data (Nikolay Pavlov, 2016 Sep 4, #1039) +Should :vmap in matchit.vim be :xmap? (Tony Mechelynck) + Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807) Undo problem: "g-" doesn't go back, gets stuck. (Björn Linse, 2016 Jul 18) +Add "unicode true" to NSIS installer. Doesn't work with Windows 95, which we +no longer support. + sort() is not stable when using numeric/float sort (Nikolay Pavlov, 2016 Sep 4#1038) Patch to add "cmdline" completion to getcompletion(). (Shougo, Oct 1, #1140) Patch for systemlist(), add empty item. (thinca, Sep 30, #1135) -Adjust the documentation instead? Do include the test. +Add an argument to choose binary or non-binary (like readfile()), when omitted +use the current behavior. +Include the test. 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. @@ -158,6 +165,9 @@ Probably list of keystrokes, with some annotations for mode changes. Could store in logfile to be able to analyise it with an external command. E.g. to see when's the last time a plugin command was used. +execute() cannot be used with command completeion. (Daniel Hahler, 2016 Oct 1, +#1141) + cmap using execute() has side effects. (Killthemule, 2016 Aug 17, #983) Patch to change order of compiler flags. (Yousong Zhou, 2016 Sep 19, #1100) @@ -182,6 +192,9 @@ Cannot delete a file with square brackets with delete(). (#696) Completion for input() does not expand environment variables. (chdiza, 2016 Jul 25, #948) +Patch to fix wrong encoding of error message on Cygwin/MSYS terminal. +(Ken Takata, 2016 Oct 4) + 'hlsearch' interferes with a Conceal match. (Rom Grk, 2016 Aug 9) Patch to add context information to quickfix/location list. (Yegappan @@ -228,9 +241,6 @@ 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 to make gd and gD work better for non-K&R code and with comments. -(Anton Lindqvist, 2016 Aug 29) - When generating the Unicode tables with runtime/tools/unicode.vim the emoji_width table has only one entry. |