diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-21 21:01:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-21 21:01:10 +0200 |
commit | e6ae6225b4abd914b13648638c58bb253124473a (patch) | |
tree | bd48cc57aaaf107ddad06fe8dbbe5a71807e0440 /runtime/doc | |
parent | 774267bbb9ac66c89e6e1781c19730a58c772752 (diff) | |
download | vim-git-e6ae6225b4abd914b13648638c58bb253124473a.tar.gz |
Updated runtime files, language files and translations.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/autocmd.txt | 2 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 6 | ||||
-rw-r--r-- | runtime/doc/if_pyth.txt | 2 | ||||
-rw-r--r-- | runtime/doc/indent.txt | 29 | ||||
-rw-r--r-- | runtime/doc/mbyte.txt | 8 | ||||
-rw-r--r-- | runtime/doc/options.txt | 15 | ||||
-rw-r--r-- | runtime/doc/pi_netrw.txt | 44 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 3 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 2 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 101 | ||||
-rw-r--r-- | runtime/doc/various.txt | 4 |
12 files changed, 160 insertions, 60 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 364670a94..b9d23b359 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.3. Last change: 2013 Mar 19 +*autocmd.txt* For Vim version 7.3. Last change: 2013 May 19 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 2114ff444..f7cc93b72 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2013 May 17 +*eval.txt* For Vim version 7.3. Last change: 2013 May 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1297,7 +1297,7 @@ v:beval_winnr The number of the window, over which the mouse pointer is. Only *v:char* *char-variable* v:char Argument for evaluating 'formatexpr' and used for the typed character when using <expr> in an abbreviation |:map-<expr>|. - It is also used by the |InsertCharPre| event. + It is also used by the |InsertCharPre| and |InsertEnter| events. *v:charconvert_from* *charconvert_from-variable* v:charconvert_from @@ -4639,7 +4639,7 @@ pumvisible() *pumvisible()* This can be used to avoid some things that would remove the popup menu. - *E860* *E861* + *E860* py3eval({expr}) *py3eval()* Evaluate Python expression {expr} and return its result converted to Vim data structures. diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 91292ea55..206cdf004 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.3. Last change: 2013 May 17 +*if_pyth.txt* For Vim version 7.3. Last change: 2013 May 21 VIM REFERENCE MANUAL by Paul Moore diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt index 022e21252..0dd632b0c 100644 --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 7.3. Last change: 2012 Aug 30 +*indent.txt* For Vim version 7.3. Last change: 2013 May 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -740,12 +740,12 @@ those useless characters first with a command like: > :%s /\r$//g Or, you can simply |:let| the variable PHP_removeCRwhenUnix to 1 and the -script will silently remove them when Vim loads a PHP file (at each|BufRead|). +script will silently remove them when Vim loads a PHP file (at each |BufRead|). OPTIONS: ~ PHP indenting can be altered in several ways by modifying the values of some -variables: +global variables: *php-comment* To not enable auto-formating of comments by default (if you want to use your @@ -753,10 +753,21 @@ own 'formatoptions'): > :let g:PHP_autoformatcomment = 0 Else, 't' will be removed from the 'formatoptions' string and "qrowcb" will be -added, see|fo-table|for more information. +added, see |fo-table| for more information. ------------- -To add an extra indent to every PHP lines with N being the number of +To add extra indentation to single-line comments: > + :let g:PHP_outdentSLComments = N + +With N being the number of 'shiftwidth' to add. + +Only single-line comments will be affected such as: > + # Comment + // Comment + /* Comment */ +------------- + +To add extra indentation to every PHP lines with N being the number of 'shiftwidth' to add: > :let g:PHP_default_indenting = N @@ -772,7 +783,7 @@ For example, with N = 1, this will give: $command_hist = TRUE; ?> -(Notice the extra indent between the PHP container markers and the code) +(Notice the extra indentation between the PHP container markers and the code) ------------- To indent PHP tags as the surrounding code: > @@ -804,8 +815,10 @@ NOTE: Indenting will be a bit slower if this option is used because some To indent 'case:' and 'default:' statements in switch() blocks: > :let g:PHP_vintage_case_default_indent = 1 -(Since in PHP braces are not required inside 'case/default' blocks, by default they are indented at the same level than the 'switch()' to avoid -unnecessary indentation) +In PHP braces are not required inside 'case/default' blocks therefore 'case:' +and 'default:' are indented at the same level than the 'switch()' to avoid +meaningless indentation. You can use the above option to return to the +traditional way. PYTHON *ft-python-indent* diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt index 61647935f..8ae023bfb 100644 --- a/runtime/doc/mbyte.txt +++ b/runtime/doc/mbyte.txt @@ -1,4 +1,4 @@ -*mbyte.txt* For Vim version 7.3. Last change: 2012 Oct 06 +*mbyte.txt* For Vim version 7.3. Last change: 2013 May 18 VIM REFERENCE MANUAL by Bram Moolenaar et al. @@ -48,9 +48,9 @@ COMPILING If you already have a compiled Vim program, check if the |+multi_byte| feature is included. The |:version| command can be used for this. -If +multi_byte is not included, you should compile Vim with "big" features. -You can further tune what features are included. See the INSTALL files in the -source directory. +If +multi_byte is not included, you should compile Vim with "normal", "big" or +"huge" features. You can further tune what features are included. See the +INSTALL files in the source directory. LOCALE diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 63ac16d58..98f22ddb8 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2013 Apr 27 +*options.txt* For Vim version 7.3. Last change: 2013 May 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5516,6 +5516,19 @@ A jump table for the options with a short description can be found at |Q_op|. matches will be highlighted. This is used to avoid that Vim hangs when using a very complicated pattern. + *'regexpengine''* *'re'* +'regexpengine' 're' number (default 0) + global + {not in Vi} + This selects the default regexp engine. |two-engines| + The possible values are: + 0 automatic selection + 1 old engine + 2 NFA engine + Note that when using the NFA engine and the pattern contains something + that is not supported the pattern will not match. This is only useful + for debugging the regexp engine. + *'relativenumber'* *'rnu'* *'norelativenumber'* *'nornu'* 'relativenumber' 'rnu' boolean (default off) local to window diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index 98515647a..4d810eab4 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 7.3. Last change: 2013 Apr 19 +*pi_netrw.txt* For Vim version 7.3. Last change: 2013 May 18 ------------------------------------------------ NETRW REFERENCE MANUAL by Charles E. Campbell @@ -146,13 +146,13 @@ and has lines resembling > < Windows' ftp doesn't support .netrc; however, one may have in one's .vimrc: > - let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE' + let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\MyUserName\MACHINE' < -Netrw will substitute the host's machine name for MACHINE from the url it is +Netrw will substitute the host's machine name for "MACHINE" from the url it is attempting to open, and so one may specify > userid password -for each site in a separate file in c:\Users\Myself\. +for each site in a separate file: c:\Users\MyUserName\MachineName. Now about browsing -- when you just want to look around before editing a file. For browsing on your current host, just "edit" a directory: > @@ -321,6 +321,8 @@ CHANGING USERID AND PASSWORD *netrw-chgup* *netrw-userpass* {{{2 :call NetUserPass("uid") -- prompts for password :call NetUserPass("uid","password") -- sets global uid and password +(Related topics: |ftp| |netrw-userpass| |netrw-start|) + NETRW VARIABLES AND SETTINGS *netrw-variables* {{{2 (Also see: |netrw-browser-var| : netrw browser option variables @@ -927,6 +929,7 @@ itself: endfunction endif > +(Related topics: |ftp| |netrw-userpass| |netrw-start|) ============================================================================== 9. Browsing *netrw-browsing* *netrw-browse* *netrw-help* {{{1 @@ -2125,6 +2128,10 @@ your browsing preferences. (see also: |netrw-settings|) NOTE: suppressing the banner is a new feature which may cause problems. + *g:netrw_bannerbackslash* if this variable exists and is not zero, the + banner will be displayed with backslashes + rather than forward slashes. + *g:netrw_browse_split* when browsing, <cr> will open the file by: =0: re-using the same window =1: horizontally splitting the window first @@ -2306,14 +2313,14 @@ your browsing preferences. (see also: |netrw-settings|) Copies marked files (|netrw-mf|) to target directory (|netrw-mt|, |netrw-mc|) + *g:netrw_localmkdir* command for making a local directory + default: "mkdir" + *g:netrw_localmovecmd* ="mv" Linux/Unix/MacOS/Cygwin ="move" Windows Moves marked files (|netrw-mf|) to target directory (|netrw-mt|, |netrw-mm|) - *g:netrw_localmkdir* command for making a local directory - default: "mkdir" - *g:netrw_localrmdir* remove directory command (rmdir) default: "rmdir" @@ -2416,11 +2423,6 @@ your browsing preferences. (see also: |netrw-settings|) < into one's <.vimrc> to use one's own preferences. - *g:netrw_ssh_cmd* One may specify an executable command - to use instead of ssh for remote actions - such as listing, file removal, etc. - default: ssh - *g:netrw_ssh_browse_reject* ssh can sometimes produce unwanted lines, messages, banners, and whatnot that one doesn't want masquerading as "directories" and "files". @@ -2428,6 +2430,11 @@ your browsing preferences. (see also: |netrw-settings|) messages. By default its value is: '^total\s\+\d\+$' + *g:netrw_ssh_cmd* One may specify an executable command + to use instead of ssh for remote actions + such as listing, file removal, etc. + default: ssh + *g:netrw_tmpfile_escape* =' &;' escape() is applied to all temporary files @@ -2990,6 +2997,19 @@ which is loaded automatically at startup (assuming :set nocp). ============================================================================== 12. History *netrw-history* {{{1 + v149: Apr 18, 2013 * in wide listing format, now have maps for + w and b to move to next/previous file + Apr 26, 2013 * one may now copy files in the same + directory; netrw will issue requests for + what names the files should be copied under + Apr 29, 2013 * Trying Benzinger's problem again. Seems + that commenting out the BufEnter and + installing VimEnter (only) works. Weird + problem! (tree listing, vim -O Dir1 Dir2) + May 01, 2013 * :Explore ftp://... wasn't working. Fixed. + May 02, 2013 * introduced |g:netrw_bannerbackslash| as + requested by Paul Domaskis. + May 18, 2013 * More fixes for windows (not cygwin) v148: Apr 16, 2013 * changed Netrw's Style menu to allow direct choice of listing style, hiding style, and sorting style diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 268898539..ebb87cd9c 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 7.3. Last change: 2013 Apr 05 +*quickref.txt* For Vim version 7.3. Last change: 2013 May 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -824,6 +824,7 @@ Short explanation of each option: *option-list* 'quoteescape' 'qe' escape characters used in a string 'readonly' 'ro' disallow writing the buffer 'redrawtime' 'rdt' timeout for 'hlsearch' and |:match| highlighting +'regexpengine' 're' default regexp engine to use 'relativenumber' 'rnu' show relative line number in front of each line 'remap' allow mappings to work recursively 'report' threshold for reporting nr. of lines changed diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 84dc78b31..86fb491e4 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 7.3. Last change: 2012 Mar 16 +*starting.txt* For Vim version 7.3. Last change: 2013 May 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -438,6 +438,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly. option should be used when Vim is started by a program that will wait for the edit session to finish (e.g., mail or readnews). See |amiga-window|. + + MS-Windows: This option is not always supported. {not in Vi} diff --git a/runtime/doc/tags b/runtime/doc/tags index 2f40a4cb9..df53a50bb 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4261,7 +4261,6 @@ E858 eval.txt /*E858* E859 eval.txt /*E859* E86 windows.txt /*E86* E860 eval.txt /*E860* -E861 eval.txt /*E861* E862 eval.txt /*E862* E863 if_pyth.txt /*E863* E864 pattern.txt /*E864* @@ -5903,6 +5902,7 @@ g:html_whole_filler syntax.txt /*g:html_whole_filler* g:netrw_alto pi_netrw.txt /*g:netrw_alto* g:netrw_altv pi_netrw.txt /*g:netrw_altv* g:netrw_banner pi_netrw.txt /*g:netrw_banner* +g:netrw_bannerbackslash pi_netrw.txt /*g:netrw_bannerbackslash* g:netrw_browse_split pi_netrw.txt /*g:netrw_browse_split* g:netrw_browsex_viewer pi_netrw.txt /*g:netrw_browsex_viewer* g:netrw_bufsettings pi_netrw.txt /*g:netrw_bufsettings* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 8b417de1b..5dd5798c9 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3. Last change: 2013 May 17 +*todo.txt* For Vim version 7.3. Last change: 2013 May 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -34,8 +34,18 @@ not be repeated below, unless there is extra information. *known-bugs* -------------------- Known bugs and current work ----------------------- +Rename src/Makefile and create a new one like toplevel Makefile that creates +auto/config.mk when it's not there? (Ben Schmidt, 2011 Feb 11) + --- Python interface +Python: thread with refactoring patches. (ZyX, May 19, 16:46 and later) +9 +10 +11 + +Configure doesn't find Python 3 on Ubuntu 13.04. (Ken Takata, Apr 13) + Python SystemExit exception is not handled properly. Patch to catch the exception and give an error. (Yasuhiro Matsumoto) Does not work, tests fail. @@ -45,9 +55,10 @@ Patch to print the result of a :python command. (Maxim Philippov Patch no longer applies. ":python os.chdir('/tmp')" makes short buffer names invalid. (Xavier de Gaye) -Check directory and call shorten_fnames()? Better: make os.chdir() -invoke the interal :cd implementation, that takes care of all side -effects. +Patch to make os.chdir() handle side effects. (Xavier de Gaye, 2013 May 17) +Update May 19, also for os.fchdir(). +Adds a $VIMRUNTIME/python directory. +ZyX: OK to add python and python3 directory. Mac: OS/X 10.4 with Python 2.5 installed: configure finds an extra argument that breaks the build. (Brian Victor, 2008 Sep 1) @@ -65,34 +76,74 @@ Vim script. Requires converting the arguments and return value. --- runtime files Syntax file for protocol buffers. (Feng Xiao, 2013 May 9) -Has an ugly copyright notice. No conflict with Vim license? +Has an ugly copyright notice. +Add statement that it does not conflict with Vim license. Patch for JavaScript syntax. (Kevin Locke, 2013 May 9) Claudio didn't respond yet. --- Fast regexp engine -Including NFA regexp code. Latest version probably is: -https://code.google.com/p/vim-soc2008-regexp/source/browse/trunk/vim72-re/src/regexp_nfa.c -Patch updated by Ken Takata. (May 13) +Duplicate condition in line 1094. (Ken Takata) Should be 'r'? + +Multi-byte problem? Marc Weber + echo matchlist('1', '\%#=1\o{\?Ä\Z') + echo matchlist('1', '\%#=2\o{\?Ä\Z') + +Difference in matching this pattern: (Marc Weber) + echo matchlist("t", '\%#=1ú\Z') + echo matchlist("t", '\%#=2ú\Z') + +Difference in matching this pattern: + echo matchlist('google', '\%#=1\<go*\|go') + echo matchlist('google', '\%#=2\<go*\|go') + +Difference in matching this pattern: (Marc Weber) + echo matchlist("\na", '\%#=1\_F') + echo matchlist("\na", '\%#=0\_F') + echo matchlist("\na", '\%#=2\_F') + +Don't set curbuf, use reg_buf. -To be able to run tests: -- set defaultre=old / nfa / auto -- In pattern use "\%#= to set the engine: 0 = automatic, 1 = old 2 = nfa +Estimation of number of items is wrong, can be much larger. +When running out of space, retry with more space? + +nfa_regcomp() should not use nstate_max but the actual number of states for +allocating the prog? Get example files for many languages. Compare syntax highlighting with old and new regexp, find regexp constructs where NFA does not work correctly. -Idea for comparing output: use format.vim (ZyX, 2013 May 12) -MakeSynChk from Charles Campbell. (May 14) - +source ~/vim/regexp/runold.vim to update the "old" files. +source ~/vim/regexp/runnew.vim to update the "new" files +source ~/vim/regexp/diff.vim to find differences +Diffs in these files: +- csh02: line 2, "13" is not highlighted after -misc-fixed-bold-r-normal- + as cshNumber +- csh02: line 7, similar problem. +- tst28.tex line 8 \alpha in texStatement instead of texGreek + +It's very slow compared to the old engine... Performance tests: -- ~/vim/test/veryslow.js (file from Daniel Fetchinson) +- ~/vim/test/veryslow.js display last line (file from Daniel Fetchinson) - ~/vim/test/slowsearch - ~/vim/test/rgb.vim - ~/vim/text/FeiqCfg.xml (file from Netjune) - ~/vim/text/edl.svg (also XML) - search for a.*e*exn in the vim executable. Go to last line to use 'hlsearch'. +- Slow combination of folding and PHP syntax highlighting. Script to + reproduce it. Caused by "syntax sync fromstart" in combination with patch + 7.2.274. (Christian Brabandt, 2010 May 27) Generally, folding with + 'foldmethod' set to "syntax" is slow. Do profiling to find out why. +- Does not use any of the optimizations, such as required start pattern. +- When lists are empty in nfa_regmatch() and match is true, it keeps looping + without doing anything. + +"\ze" is currently disabled for NFA, can this be fixed? + +"\_[0-9]\?\>" does not match at end of line, disabled. + +Items with \%u, \%x, \%o, \%d do not work with the new engine. --- bug fixes @@ -145,6 +196,12 @@ Patch by Christian Brabandt, Feb 16. 'cursorline' is drawn incorrectly in diff mode. Patch by Christian Brabandt, 2012 Apr 2. +When someone does a silly thing such as setting rows and columns to 65535, +handle the out-of-memory and set them to sane values? (jimmywang, 2013 May 17) + +InsertEnter doesn't prevent the cursor from moving when it goes to another +line. + --- slightly incompatible changes Patch to load ~/.vim/vimrc when ~/.vimrc isn't found. (Lech Lorens, 2013 Apr @@ -203,9 +260,11 @@ Patch to invert characters differently in GTK. (Yukihiro Nakadaira, 2013 May 5) Patch to add the bufferlist() function. (Yegappan Lakshmanan, 2013 May 5) +May 17: with winlist() and tabpagelist(). +May 19: with local variables. Patch to allow setting w:quickfix_title via setqflist() and setloclist() -functions. (Christian Brabandt, 2013 May 8, update May 11) +functions. (Christian Brabandt, 2013 May 8, update May 21) Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep 28) With tests: Oct 9. @@ -779,12 +838,6 @@ Problem with stop directory in findfile(). (Adam Simpkins, 2009 Aug 26) Using ']' as the end of a range in a pattern requires double escaping: /[@-\\]] (Andy Wokula, 2011 Jun 28) -Slow combination of folding and PHP syntax highlighting. Script to reproduce -it. Caused by "syntax sync fromstart" in combination with patch 7.2.274. -(Christian Brabandt, 2010 May 27) -Generally, folding with 'foldmethod' set to "syntax" is slow. Do profiling to -find out why. - Syntax priority problem. (Charles Campbell, 2011 Sep 15) When completion inserts the first match, it may trigger the line to be folded. @@ -1737,10 +1790,8 @@ Patch to support horizontal scroll wheel in GTK. Untested. (Bjorn Winckler, 2010 Jun 30) -At next release 7.4: +At next release: - Build a huge version by default. -- Rename src/Makefile and create a new one like toplevel Makefile that - creates auto/config.mk when it's not there? (Ben Schmidt, 2011 Feb 11) - Improve plugin handling: Automatic updates, handle dependencies? E.g. Vundle: https://github.com/gmarik/vundle diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index d602af692..98eaf45b6 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 7.3. Last change: 2012 Dec 06 +*various.txt* For Vim version 7.3. Last change: 2013 May 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -368,7 +368,7 @@ N *+mouse_sysmouse* Unix only: *BSD console mouse handling |sysmouse| B *+mouse_sgr* Unix only: sgr mouse handling |sgr-mouse| B *+mouse_urxvt* Unix only: urxvt mouse handling |urxvt-mouse| N *+mouse_xterm* Unix only: xterm mouse handling |xterm-mouse| -B *+multi_byte* 16 and 32 bit characters |multibyte| +N *+multi_byte* 16 and 32 bit characters |multibyte| *+multi_byte_ime* Win32 input method for multibyte chars |multibyte-ime| N *+multi_lang* non-English language support |multi-lang| m *+mzscheme* Mzscheme interface |mzscheme| |