]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Update runtime files.
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Feb 2015 18:13:34 +0000 (19:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Feb 2015 18:13:34 +0000 (19:13 +0100)
runtime/doc/change.txt
runtime/doc/diff.txt
runtime/doc/eval.txt
runtime/doc/options.txt
runtime/doc/syntax.txt
runtime/doc/tags
runtime/doc/todo.txt
runtime/doc/windows.txt
runtime/syntax/diff.vim
runtime/syntax/valgrind.vim

index 4fc7912823d6cdc3be5b2a63892778c905ad9261..0a5bc94faf1d04c6dea0a43c949cbe3aafb47243 100644 (file)
@@ -1104,7 +1104,7 @@ There are nine types of registers:                        *registers* *E354*
 3. The small delete register "-
 4. 26 named registers "a to "z or "A to "Z
 5. three read-only registers ":, "., "%
-7. alternate buffer register "#
+6. alternate buffer register "#
 7. the expression register "=
 8. The selection and drop registers "*, "+ and "~ 
 9. The black hole register "_
index be17b0c73102ced4d28112bdac22fd2fca1cac9a..49232735894d1585fcb10d6bf34e9fafadef2ec4 100644 (file)
@@ -1,4 +1,4 @@
-*diff.txt*      For Vim version 7.4.  Last change: 2014 Oct 31
+*diff.txt*      For Vim version 7.4.  Last change: 2015 Feb 03
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -314,6 +314,19 @@ name or a part of a buffer name.  Examples:
 
 Also see |'diffopt'| and the "diff" item of |'fillchars'|.
 
+                                           *diff-slow* *diff_translations*
+For very long lines, the diff syntax highlighting might be slow, especially
+since it tries to match all different kind of localisations. To disable
+localisations and speed up the syntax highlighting, set the global variable
+g:diff_translations to zero: >
+
+    let g:diff_translations = 0
+<
+After setting this variable, Reload the syntax script: >
+
+    set syntax=diff
+<
+
 
 FINDING THE DIFFERENCES                                        *diff-diffexpr*
 
index 0fb315121f6a48e2ea8a254a0415090d15002c64..2c395326e7cf6458ec0347d3e43645d27841be6c 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*     For Vim version 7.4.  Last change: 2015 Jan 27
+*eval.txt*     For Vim version 7.4.  Last change: 2015 Jan 29
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -4766,6 +4766,7 @@ printf({fmt}, {expr1} ...)                                *printf()*
                s       The text of the String argument is used.  If a
                        precision is specified, no more bytes than the number
                        specified are used.
+                                                       *printf-S*
                S       The text of the String argument is used.  If a
                        precision is specified, no more display cells than the
                        number specified are used.  Without the |+multi_byte|
index 918e1b7e4d0cb5d23ece236da78cbfd4b623bb51..193e323b79e38bef22e11f5f03ff57f6c2a3be33 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 7.4.  Last change: 2014 Dec 17
+*options.txt*  For Vim version 7.4.  Last change: 2015 Jan 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1316,6 +1316,8 @@ A jump table for the options with a short description can be found at |Q_op|.
        nofile only:    The buffer name is fixed, it is not handled like a
                        file name.  It is not modified in response to a |:cd|
                        command.
+       nofile only:    When using ":e bufname" and already editing "bufname"
+                       nothing changes, since there is no file to edit.
                                                        *E676*
        "acwrite" implies that the buffer name is not related to a file, like
        "nofile", but it will be written.  Thus, in contrast to "nofile" and
index c4964bcf3f78c560d77048d1923394f51980a0f2..fdafb677e901eaec38610627356a726c8571e018 100644 (file)
@@ -1,4 +1,4 @@
-*syntax.txt*   For Vim version 7.4.  Last change: 2015 Jan 07
+*syntax.txt*   For Vim version 7.4.  Last change: 2015 Feb 03
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1135,6 +1135,8 @@ there are very long lines in the file.  To disable translations: >
 
        :let diff_translations = 0
 
+Also see |diff-slow|.
+
 
 DIRCOLORS                             *dircolors.vim* *ft-dircolors-syntax*
 
index 027df9ac5e401d6f0fd33e68627da1a5aaadf57b..c4c4c8c0505c4ea9d660f6f89091370ac0148587 100644 (file)
@@ -5416,10 +5416,12 @@ diff-mode       diff.txt        /*diff-mode*
 diff-options   diff.txt        /*diff-options*
 diff-original-file     diff.txt        /*diff-original-file*
 diff-patchexpr diff.txt        /*diff-patchexpr*
+diff-slow      diff.txt        /*diff-slow*
 diff.txt       diff.txt        /*diff.txt*
 diff.vim       syntax.txt      /*diff.vim*
 diff_filler()  eval.txt        /*diff_filler()*
 diff_hlID()    eval.txt        /*diff_hlID()*
+diff_translations      diff.txt        /*diff_translations*
 digraph        digraph.txt     /*digraph*
 digraph-arg    change.txt      /*digraph-arg*
 digraph-encoding       digraph.txt     /*digraph-encoding*
@@ -7461,6 +7463,7 @@ printf()  eval.txt        /*printf()*
 printf-%       eval.txt        /*printf-%*
 printf-E       eval.txt        /*printf-E*
 printf-G       eval.txt        /*printf-G*
+printf-S       eval.txt        /*printf-S*
 printf-X       eval.txt        /*printf-X*
 printf-c       eval.txt        /*printf-c*
 printf-d       eval.txt        /*printf-d*
index 1df73185ea6f756aec3584e3582f801015d71c35..00e70349a086bde3bed906f61381c7c4bdfa3466 100644 (file)
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.4.  Last change: 2015 Jan 23
+*todo.txt*      For Vim version 7.4.  Last change: 2015 Feb 03
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -35,8 +35,6 @@ not be repeated below, unless there is extra information.
 -------------------- Known bugs and current work -----------------------
 
 Regexp problems:
-- The NFA engine does not implement the time limit passed to
-  nfa_regexec_multi()
 - Using win_linetabsize() can still be slow. Cache the result, store col and
   vcol. Reset them when moving to another line.
 - Very slow with a long line and Ruby highlighting. (John Whitley, 2014 Dec 4)
@@ -57,16 +55,20 @@ Regexp problems:
   engine, can we do this with the new engine?  E.g. with
   "/\%(<\1>\)\@<=.*\%(<\/\(\w\+\)>\)\@=" matching text inside HTML tags.
 - Diff highlighting can be very slow. (Issue 309)
-- Using "{1,1000}" is much slower than it was with the old engine.
-  (Dominique Pelle, 2015 Jan 22) 
 - Using %> for a virtual column has a check based on 'tabsize'.  Better would
   be to cache the result of win_linetabsize(col), storing both col and vcol,
   and use them to decide whether win_linetabsize() needs to be called.  Reset
   col and vcol when moving to another line.
+- this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/".  Leaving
+  out the \& works.  Seems any column check after \& fails.
 
 Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
 More info Jul 24.  Not clear why.
 
+Docs: "= register is writable. (Christian Brabandt, 2015 Jan 28)
+
+New syntax file for pfmain. (Anton Shestakov, 2015 Feb 2)
+
 Patch to make getregtype() return the right size for non-linux systems.
 (Yasuhiro Matsumoto, 2014 Jul 8)
 Breaks test_eval.  Inefficient, can we only compute y_width when needed?
@@ -91,21 +93,6 @@ inconsistent with the documentation.
 
 Better greek spell checking.  Issue 299.
 
-Patch to fix slow valgrind highlighting. (Dominique, 2015 Jan 15)
-Does maintainer respond?
-
-Patch on issue 212: feedkeys() with dot doesn't work as expected.
-
-Patch to support hex values for setting option value.
-(Zyx, 2014 Nov 6)
-
-Patch to fix problems with small screen sizes. (Christian Brabandt, 2015 Jan
-8)
-
-":tabdo windo echo 'hi'" causes "* register not to be changed.
-(Salman Halim, 2015 Jan 17)
-Patch by Christian, 2015 Jan 20.  There is another problem, wait a bit.
-
 On MS-Windows running tests with Mercurial has problems when the fileformat of
 the input files are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
 Update Nov 5.
@@ -113,9 +100,19 @@ Update Nov 5.
 MS-Windows: Crash opening very long file name starting with "\\".
 (Christian Brock, 2012 Jun 29)
 
-Patch for this from Marcin Szamotulski, 2014 Dec 28:
-8   Make the # register writable, so that it can be restored after jumping
-    around in windows.
+Patch to add "tn" termcap feature, whether Vim can write in the last screen
+cell. (Hayaki Saito, 2015 Jan 28)
+
+Patch to fix getting buffer number for autocommand. (Lech Lorens, 2015 Jan 27)
+
+Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
+Patches: 2013 Nov 19
+1: Add -e: little endian hexdump
+2: Add -o: add offset to displayed position
+3: Change displayed file position width to 8 chars
+
+Undo messes up text.  Issue 324.
+Patch from Christian on the issue.
 
 Using CTRL-L while popup menu is visible behaves like CTRL-P, which is wrong.
 Patch by Yasuhiro Matsumoto, 2015 Jan 5.
@@ -132,6 +129,8 @@ patch from Ken Takata (2014 Nov 6)
 ml_updatechunk() is slow when retrying for another encoding. (John Little,
 2014 Sep 11)
 
+Patch to add counts to zr and zm. (Marcin Szamotulski, 2015 Jan 28)
+
 Patch to add a different escape sequence for replace mode.
 (Omar Sandoval, 2014 Nov 30)
 
@@ -142,9 +141,19 @@ Patch by Yasuhiro Matsumoto, 2014 Dec 14.
 
 Extended file attributes lost on write (backupcopy=no).  Issue 306.
 
+Patch to add an argument to ":ls" for specific kinds of buffers.
+(Marcin Szamotulski, 2015 Jan 31)
+
+Crash when using R syntax. (Jakson Alves de Aquino, 2015 Jan 30)
+Memory freed by ":syn clear" but still referenced, syntax items referenced
+from two windows?
+
 Window height computed incorrectly when Vim is minimized.
 Patch to fix this. (Ingo Karkat, 2014 Dec 19)
 
+Patch to fix CTRL-W handling in Insert mode for multi-byte characters.
+(Yasuhiro Matsumoto, 2015 Jan 29, update with test)
+
 Patch to allow values greater than 255 for ctermfg/ctermbg on Windows.
 (Yasuhiro Matsumoto, 2014 Dec 5)
 
@@ -153,6 +162,8 @@ Mixup of highlighting when there is a match and SpellBad. (ZyX, 2015 Jan 1)
 Problem caused by patch 7.3.638: window->open does not update window
 correctly. Issue 91.  With patch.
 
+Patch to add 'belloff' option. (Christian Brabandt, 2015 Jan 31)
+
 Patch for drag&drop reordering of GUI tab pages reordering.
 (Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
 
@@ -257,12 +268,6 @@ Update 2015 Jan 10.
 Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
 More tests May 14. Update May 29.  Update Aug 10.
 
-The garbage collector may use too much stack.  Make set_ref_in_item()
-iterative instead of recursive.   Test program by Marc Weber (2013 Dec 10)
-Patch by Ben Fritz, 2014 Jun 22.  Update 2015 Jan 21.
-Related: Vim hangs when freeing a lot of objects.  Patch by Yasuhiro
-Matsumoto, 2014 Aug 26.
-
 Idea: For a window in the middle (has window above and below it), use
 right-mouse-drag on the status line to move a window up/down without changing
 its height?  It's like dragging the status bar above it at the same time.
@@ -272,6 +277,9 @@ What for systems that don't have unsetenv()?
 
 Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
 
+Patch to add TabNew, TabNewEntered and TabClosed autocommand events.
+(Felipe Morales, 2015 Feb 1)
+
 This does not give an error: (Andre Sihera, 2014 Mar 21)
     vim -u NONE 1 2 3 -c 'bufdo if 1 | echo 1'
 This neither: (ZyX)
@@ -1656,12 +1664,6 @@ Check for this and use iconv?  (Edward L. Fox, 2007 Sep 12)
 Does the conversion in the other direction work when 'fileencodings' is set
 properly?
 
-Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
-Patches: 2013 Nov 19
-1: Add -e: little endian hexdump
-2: Add -o: add offset to displayed position
-3: Change displayed file position width to 8 chars
-
 Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
 2007 Jun 21)
 
index 532cca3e502d18f89a7ec29835c4d70ed712b857..7f5d970edab06824b97b3c856cdb136a9d3e1288 100644 (file)
@@ -1,4 +1,4 @@
-*windows.txt*   For Vim version 7.4.  Last change: 2014 Dec 05
+*windows.txt*   For Vim version 7.4.  Last change: 2015 Jan 31
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -998,8 +998,8 @@ list of buffers. |unlisted-buffer|
                (the term "unlisted" is a bit confusing then...).
 
                Each buffer has a unique number.  That number will not change,
-               so you can always go to a specific buffer with ":buffer N" or
-               "N CTRL-^", where N is the buffer number.
+               thus you can always go to a specific buffer with ":buffer N"
+               or "N CTRL-^", where N is the buffer number.
 
                Indicators (chars in the same column are mutually exclusive):
                u       an unlisted buffer (only displayed when [!] is used)
index ff69c5860b8caf0f629f69ccfb5bf39edba6362b..885feaebddf43827d14667c57f06cb12bc2e10a9 100644 (file)
@@ -2,7 +2,7 @@
 " Language:    Diff (context or unified)
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
 "               Translations by Jakson Alves de Aquino.
-" Last Change: 2015 Jan 07
+" Last Change: 2015 Feb 03
 
 " Quit when a (custom) syntax file was already loaded
 if exists("b:current_syntax")
@@ -123,13 +123,17 @@ syn match diffNoEOL       "^\\ Non hai un salto de liña na fin da liña"
 syn match diffCommon   "^Subdirectorios comúns: .* e .*"
 
 " he
-syn match diffOnly     "^.*-ב קר אצמנ .*"
-syn match diffIdentical        "^םיהז םניה .*-ו .* םיצבקה$"
-syn match diffDiffer   "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
-syn match diffBDiffer  "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
-syn match diffIsA      "^.* .*-ל .* .* תוושהל ןתינ אל$"
-syn match diffNoEOL    "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
-syn match diffCommon   "^.*-ו .* :תוהז תויקית-תת$"
+" ^.* are expansive patterns for long lines, so disabled unless we can match
+" some specific hebrew chars
+if search('\%u05d5\|\%u05d1', 'nw', '', 100)
+  syn match diffOnly   "^.*-ב קר אצמנ .*"
+  syn match diffIdentical      "^םיהז םניה .*-ו .* םיצבקה$"
+  syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
+  syn match diffBDiffer        "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
+  syn match diffIsA    "^.* .*-ל .* .* תוושהל ןתינ אל$"
+  syn match diffNoEOL  "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
+  syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
+endif
 
 " hr
 syn match diffOnly     "^Samo u .*"
index c247927c2feec00a248720d5b646a80da7dddc54..d099971826fec6aa5d6b4c23764406d0d0267ef7 100644 (file)
@@ -2,7 +2,8 @@
 " Language: Valgrind Memory Debugger Output
 " Maintainer: Roger Luethi <rl@hellgate.ch>
 " Program URL: http://devel-home.kde.org/~sewardj/
-" Last Change: 2014 Oct 02
+" Last Change: 2015 Jan 27
+"              Included improvement by Dominique Pelle
 "
 " Notes: mostly based on strace.vim and xml.vim
 "
@@ -15,6 +16,9 @@ endif
 let s:keepcpo= &cpo
 set cpo&vim
 
+" Lines can be long with demangled c++ functions.
+setlocal synmaxcol=8000
+
 syn case match
 syn sync minlines=50
 
@@ -29,8 +33,8 @@ syn region valgrindRegion
        \ contains=valgrindPidChunk,valgrindLine
 
 syn region valgrindPidChunk
-       \ start=+\(^==\)\@<=+
-       \ end=+\(==\)\@=+
+       \ start=+^==\zs+
+       \ end=+\ze==+
        \ contained
        \ contains=valgrindPid0,valgrindPid1,valgrindPid2,valgrindPid3,valgrindPid4,valgrindPid5,valgrindPid6,valgrindPid7,valgrindPid8,valgrindPid9
        \ keepend
@@ -64,10 +68,11 @@ syn match valgrindSummary ".*SUMMARY:" contained
 syn match valgrindLoc "\s\+\(by\|at\|Address\).*$" contained
        \ contains=valgrindAt,valgrindAddr,valgrindFunc,valgrindBin,valgrindSrc
 syn match valgrindAt "at\s\@=" contained
-syn match valgrindAddr "\(\W\)\@<=0x\x\+" contained
-syn match valgrindFunc "\(: \)\@<=\w\+" contained
-syn match valgrindBin "\((\(with\|\)in \)\@<=\S\+\()\)\@=" contained
-syn match valgrindSrc "\((\)\@<=[^)]*:\d\+\()\)\@=" contained
+syn match valgrindAddr "\W\zs0x\x\+" contained
+
+syn match valgrindFunc ": \zs\h[a-zA-Z0-9_:\[\]()<>&*+\-,=%!|^ ]*\ze([^)]*)$" contained
+syn match valgrindBin "(\(with\)\=in \zs\S\+)\@=" contained
+syn match valgrindSrc "(\zs[^)]*:\d\+)\@=" contained
 
 " Define the default highlighting