summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/change.txt3
-rw-r--r--runtime/doc/filetype.txt13
-rw-r--r--runtime/doc/repeat.txt4
-rw-r--r--runtime/doc/starting.txt11
-rw-r--r--runtime/doc/syntax.txt120
-rw-r--r--runtime/doc/tabpage.txt8
-rw-r--r--runtime/doc/tags11
-rw-r--r--runtime/doc/todo.txt31
-rw-r--r--runtime/doc/version8.txt76
9 files changed, 191 insertions, 86 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 02f3139b3..e2148b3aa 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.4. Last change: 2016 Apr 12
+*change.txt* For Vim version 7.4. Last change: 2016 Sep 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -872,6 +872,7 @@ The numbering of "\1", "\2" etc. is done based on which "\(" comes first in
the pattern (going left to right). When a parentheses group matches several
times, the last one will be used for "\1", "\2", etc. Example: >
:s/\(\(a[a-d] \)*\)/\2/ modifies "aa ab x" to "ab x"
+The "\2" is for "\(a[a-d] \)". At first it matches "aa ", secondly "ab ".
When using parentheses in combination with '|', like in \([ab]\)\|\([cd]\),
either the first or second pattern in parentheses did not match, so either
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index 482b742ee..2d2ef8d8e 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 7.4. Last change: 2016 Jun 20
+*filetype.txt* For Vim version 7.4. Last change: 2016 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -644,6 +644,17 @@ These maps can be disabled with >
:let g:no_pdf_maps = 1
<
+PYTHON *ft-python-plugin* *PEP8*
+
+By default the following options are set, in accordance with PEP8: >
+
+ setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
+
+To disable this behaviour, set the following variable in your vimrc: >
+
+ let g:python_recommended_style = 0
+
+
RPM SPEC *ft-spec-plugin*
Since the text for this plugin is rather long it has been put in a separate
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 7ceb3a428..4269e27c2 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.4. Last change: 2016 Jul 21
+*repeat.txt* For Vim version 7.4. Last change: 2016 Sep 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -158,7 +158,7 @@ q Stops recording. (Implementation note: The 'q' that
:[addr]@: Repeat last command-line. First set cursor at line
[addr] (default is current line). {not in Vi}
- *:@@*
+:[addr]@ *:@@*
:[addr]@@ Repeat the previous :@{0-9a-z"}. First set cursor at
line [addr] (default is current line). {Vi: only in
some versions}
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index b1a0f711a..a911ddbc7 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 Sep 03
+*starting.txt* For Vim version 7.4. Last change: 2016 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1021,17 +1021,20 @@ patch 7.4.2111 to be exact).
This should work well for new Vim users. If you create your own .vimrc, it is
recommended to add this line somewhere near the top: >
+ unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
is way to do this. Alternatively, you can copy defaults.vim to your .vimrc
-and modify it.
+and modify it (but then you won't get updates when it changes).
If you don't like some of the defaults, you can still source defaults.vim and
revert individual settings. See the defaults.vim file for hints on how to
revert each item.
-
+ *skip_defaults_vim*
If you use a system-wide vimrc and don't want defaults.vim to change settings,
-set the "skip_defaults_vim" variable.
+set the "skip_defaults_vim" variable. If this was set and you want to load
+defaults.vim from your .vimrc, first unlet skip_defaults_vim, as in the
+example above.
Avoiding trojan horses ~
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index d01cc9fcc..aa8846ddb 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.4. Last change: 2016 Aug 16
+*syntax.txt* For Vim version 7.4. Last change: 2016 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2669,68 +2669,104 @@ your .vimrc: *g:filetype_r*
RUBY *ruby.vim* *ft-ruby-syntax*
-There are a number of options to the Ruby syntax highlighting.
+ Ruby: Operator highlighting |ruby_operators|
+ Ruby: Whitespace errors |ruby_space_errors|
+ Ruby: Folding |ruby_fold| |ruby_foldable_groups|
+ Ruby: Reducing expensive operations |ruby_no_expensive| |ruby_minlines|
+ Ruby: Spellchecking strings |ruby_spellcheck_strings|
-By default, the "end" keyword is colorized according to the opening statement
-of the block it closes. While useful, this feature can be expensive; if you
-experience slow redrawing (or you are on a terminal with poor color support)
-you may want to turn it off by defining the "ruby_no_expensive" variable: >
+ *ruby_operators*
+ Ruby: Operator highlighting ~
- :let ruby_no_expensive = 1
+Operators can be highlighted by defining "ruby_operators": >
+
+ :let ruby_operators = 1
<
-In this case the same color will be used for all control keywords.
+ *ruby_space_errors*
+ Ruby: Whitespace errors ~
-If you do want this feature enabled, but notice highlighting errors while
-scrolling backwards, which are fixed when redrawing with CTRL-L, try setting
-the "ruby_minlines" variable to a value larger than 50: >
+Whitespace errors can be highlighted by defining "ruby_space_errors": >
- :let ruby_minlines = 100
+ :let ruby_space_errors = 1
<
-Ideally, this value should be a number of lines large enough to embrace your
-largest class or module.
+This will highlight trailing whitespace and tabs preceded by a space character
+as errors. This can be refined by defining "ruby_no_trail_space_error" and
+"ruby_no_tab_space_error" which will ignore trailing whitespace and tabs after
+spaces respectively.
+
+ *ruby_fold* *ruby_foldable_groups*
+ Ruby: Folding ~
-Highlighting of special identifiers can be disabled by removing the
-rubyIdentifier highlighting: >
+Folding can be enabled by defining "ruby_fold": >
- :hi link rubyIdentifier NONE
+ :let ruby_fold = 1
<
-This will prevent highlighting of special identifiers like "ConstantName",
-"$global_var", "@@class_var", "@instance_var", "| block_param |", and
-":symbol".
+This will set the value of 'foldmethod' to "syntax" locally to the current
+buffer or window, which will enable syntax-based folding when editing Ruby
+filetypes.
+
+ *ruby_foldable_groups*
+Default folding is rather detailed, i.e., small syntax units like "if", "do",
+"%w[]" may create corresponding fold levels.
-Significant methods of Kernel, Module and Object are highlighted by default.
-This can be disabled by defining "ruby_no_special_methods": >
+You can set "ruby_foldable_groups" to restrict which groups are foldable: >
- :let ruby_no_special_methods = 1
+ :let ruby_foldable_groups = 'if case %'
<
-This will prevent highlighting of important methods such as "require", "attr",
-"private", "raise" and "proc".
+The value is a space-separated list of keywords:
+
+ keyword meaning ~
+ -------- ------------------------------------- ~
+ ALL Most block syntax (default)
+ NONE Nothing
+ if "if" or "unless" block
+ def "def" block
+ class "class" block
+ module "module" block
+ do "do" block
+ begin "begin" block
+ case "case" block
+ for "for", "while", "until" loops
+ { Curly bracket block or hash literal
+ [ Array literal
+ % Literal with "%" notation, e.g.: %w(STRING), %!STRING!
+ / Regexp
+ string String and shell command output (surrounded by ', ", `)
+ : Symbol
+ # Multiline comment
+ << Here documents
+ __END__ Source code after "__END__" directive
+
+ *ruby_no_expensive*
+ Ruby: Reducing expensive operations ~
-Ruby operators can be highlighted. This is enabled by defining
-"ruby_operators": >
+By default, the "end" keyword is colorized according to the opening statement
+of the block it closes. While useful, this feature can be expensive; if you
+experience slow redrawing (or you are on a terminal with poor color support)
+you may want to turn it off by defining the "ruby_no_expensive" variable: >
- :let ruby_operators = 1
+ :let ruby_no_expensive = 1
<
-Whitespace errors can be highlighted by defining "ruby_space_errors": >
+In this case the same color will be used for all control keywords.
- :let ruby_space_errors = 1
-<
-This will highlight trailing whitespace and tabs preceded by a space character
-as errors. This can be refined by defining "ruby_no_trail_space_error" and
-"ruby_no_tab_space_error" which will ignore trailing whitespace and tabs after
-spaces respectively.
+ *ruby_minlines*
-Folding can be enabled by defining "ruby_fold": >
+If you do want this feature enabled, but notice highlighting errors while
+scrolling backwards, which are fixed when redrawing with CTRL-L, try setting
+the "ruby_minlines" variable to a value larger than 50: >
- :let ruby_fold = 1
+ :let ruby_minlines = 100
<
-This will set the 'foldmethod' option to "syntax" and allow folding of
-classes, modules, methods, code blocks, heredocs and comments.
+Ideally, this value should be a number of lines large enough to embrace your
+largest class or module.
+
+ *ruby_spellcheck_strings*
+ Ruby: Spellchecking strings ~
-Folding of multiline comments can be disabled by defining
-"ruby_no_comment_fold": >
+Ruby syntax will perform spellchecking of strings if you define
+"ruby_spellcheck_strings": >
- :let ruby_no_comment_fold = 1
+ :let ruby_spellcheck_strings = 1
<
SCHEME *scheme.vim* *ft-scheme-syntax*
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index f2444c017..868eb17fa 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -1,4 +1,4 @@
-*tabpage.txt* For Vim version 7.4. Last change: 2015 Jan 04
+*tabpage.txt* For Vim version 7.4. Last change: 2016 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -201,6 +201,12 @@ Other commands:
:tabs List the tab pages and the windows they contain.
Shows a ">" for the current window.
Shows a "+" for modified buffers.
+ For example:
+ Tab page 1 ~
+ + tabpage.txt ~
+ ex_docmd.c ~
+ Tab page 2 ~
+ > main.c ~
REORDERING TAB PAGES:
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 93e2169f9..7eaf6a0ce 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4617,6 +4617,7 @@ OptionSet autocmd.txt /*OptionSet*
OverTheSpot mbyte.txt /*OverTheSpot*
P change.txt /*P*
PATHEXT eval.txt /*PATHEXT*
+PEP8 filetype.txt /*PEP8*
PHP_BracesAtCodeLevel indent.txt /*PHP_BracesAtCodeLevel*
PHP_autoformatcomment indent.txt /*PHP_autoformatcomment*
PHP_default_indenting indent.txt /*PHP_default_indenting*
@@ -6090,6 +6091,7 @@ ft-printcap-syntax syntax.txt /*ft-printcap-syntax*
ft-progress-syntax syntax.txt /*ft-progress-syntax*
ft-ptcap-syntax syntax.txt /*ft-ptcap-syntax*
ft-python-indent indent.txt /*ft-python-indent*
+ft-python-plugin filetype.txt /*ft-python-plugin*
ft-python-syntax syntax.txt /*ft-python-syntax*
ft-quake-syntax syntax.txt /*ft-quake-syntax*
ft-r-indent indent.txt /*ft-r-indent*
@@ -8025,6 +8027,14 @@ ruby-set_option if_ruby.txt /*ruby-set_option*
ruby-vim if_ruby.txt /*ruby-vim*
ruby-window if_ruby.txt /*ruby-window*
ruby.vim syntax.txt /*ruby.vim*
+ruby_fold syntax.txt /*ruby_fold*
+ruby_foldable_groups syntax.txt /*ruby_foldable_groups*
+ruby_foldable_groups syntax.txt /*ruby_foldable_groups*
+ruby_minlines syntax.txt /*ruby_minlines*
+ruby_no_expensive syntax.txt /*ruby_no_expensive*
+ruby_operators syntax.txt /*ruby_operators*
+ruby_space_errors syntax.txt /*ruby_space_errors*
+ruby_spellcheck_strings syntax.txt /*ruby_spellcheck_strings*
russian russian.txt /*russian*
russian-intro russian.txt /*russian-intro*
russian-issues russian.txt /*russian-issues*
@@ -8159,6 +8169,7 @@ sin() eval.txt /*sin()*
single-repeat repeat.txt /*single-repeat*
sinh() eval.txt /*sinh()*
skeleton autocmd.txt /*skeleton*
+skip_defaults_vim starting.txt /*skip_defaults_vim*
slice eval.txt /*slice*
slow-fast-terminal term.txt /*slow-fast-terminal*
slow-start starting.txt /*slow-start*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 4c0603443..4a4b6483a 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 Sep 08
+*todo.txt* For Vim version 7.4. Last change: 2016 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,20 +34,6 @@ not be repeated below, unless there is extra information.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Invalid memory access in do_pending_operator. (Dominique, 2016 Sep 5)
-
-Invalid memory access in msg_puts_printf (Dominique, 2016 Sep 6)
-
-Crash after wiping a buffer. (Dominique, Sep 7)
-
-With MS-Windows gvim:
- test_netbeans.vim fails. Nb_basic line 12 and 13.
- test86 fails partial fix
- test87 fails
-
-Make ":filter" work with more commands.
-Search for: msg_putchar('\n')
-
+channel:
- channel_wait() may return an error while there is still something to read.
Perhaps try to read once?
@@ -71,8 +57,6 @@ Later
With xterm could use -S{pty}.
Regexp problems:
-- The new engine does not do the example in change.txt correctly, where the
- meaning of \1 and \2 is explained. (Harm te Hennepe, #990)
- Since 7.4.704 the old regex engine fails to match [[:print:]] in 0xf6.
(Manuel Ortega, 2016 Apr 24)
Test fails on Mac. Avoid using isalpha(), isalnum(), etc? Depends on
@@ -92,8 +76,6 @@ Regexp problems:
2013 Dec 11)
- Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski
Remark from Brett 2014 Jan 6 and 7.
-- Difference in NFA and old engine. (Brett Stahlman, 2014 Nov 5)
-- Bug when using \>. (Ramel, 2014 Feb 2) (Aaron Bohannon, 2014 Feb 13)
- 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
@@ -117,9 +99,7 @@ Regexp problems:
out the \& works. Seems any column check after \& fails.
- The pattern "\1" with the old engine gives E65, with the new engine it
matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24)
-- Search for \\~ causes error E874.
-- Search for /\%d0\+ causes error E363 in a file with consecutive NUL
- characters. (Christian Brabandt, 2016 Jun 7)
+ had_endbrace[] is set but not initialized or used.
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
What if there is an invalid character?
@@ -133,8 +113,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
-Cursor positioned in the wrong place when editing src/testdir/test_viml.vim.
-
Javascript indent wrong after /* in single quoted string:
var SRC = 'src/*.js';
function log(tag) {
@@ -146,14 +124,9 @@ Add tests for using number larger than number of lines in buffer.
Invalid behavior with NULL list. (Nikolai Pavlov, #768)
-For current Windows build .pdb file is missing. (Gabriele Fava, 2016 May 11)
-5)
-
min() and max() spawn lots of error messages if sorted list/dictionary
contains invalid data (Nikolay Pavlov, 2016 Sep 4, #1039)
-Patch to fix compiler warning with gtk3. (Kazunobu Kuriyama, 2016 Aug 24)
-
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)
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt
index 08c03bb79..f18559443 100644
--- a/runtime/doc/version8.txt
+++ b/runtime/doc/version8.txt
@@ -1,4 +1,4 @@
-*version8.txt* For Vim version 8.0. Last change: 2016 Sep 08
+*version8.txt* For Vim version 8.0. Last change: 2016 Sep 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -914,8 +914,7 @@ Files: src/testdir/test100.in, src/testdir/test100.ok,
src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile
Patch 7.4.076
-Problem: "cgn" does not wrap around the end of the file. (Dimitrov
- Dimitrov)
+Problem: "cgn" does not wrap around the end of the file. (Dimitar Dimitrov)
Solution: Restore 'wrapscan' earlier. (Christian Brabandt)
Files: src/search.c
@@ -7666,8 +7665,7 @@ Problem: Still more files still using __ARGS.
Solution: Remove __ARGS in really the last files.
Files: src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h,
src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro,
- src/proto/if_ole.pro, src/proto/if_ole.pro, src/proto/os_qnx.pro,
- src/Makefile
+ src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile
Patch 7.4.1204
Problem: Latin1 characters cause encoding conversion.
@@ -8811,7 +8809,7 @@ Files: Filelist, src/Make_bc3.mak, src/Make_bc5.mak, src/Make_djg.mak,
src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c,
src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h,
src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h,
- src/syntax.c, src/term.c, src/term.c, src/undo.c, src/uninstal.c,
+ src/syntax.c, src/term.c, src/undo.c, src/uninstal.c,
src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak,
src/xxd/Make_djg.mak
@@ -14396,6 +14394,72 @@ Problem: Autocommand test fails when run directly, passes when run as part
Solution: Add command to make the cursor move. Close a tab page.
Files: src/testdir/test_autocmd.vim
+Patch 7.4.2347
+Problem: Crash when closing a buffer while Visual mode is active.
+ (Dominique Pelle)
+Solution: Adjust the position before computing the number of lines.
+ When closing the current buffer stop Visual mode.
+Files: src/buffer.c, src/normal.c, src/testdir/test_normal.vim
+
+Patch 7.4.2348
+Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
+Solution: Don't access curwin when exiting.
+Files: src/buffer.c
+
+Patch 7.4.2349
+Problem: Valgrind reports using uninitialzed memory. (Dominique Pelle)
+Solution: Check the length before checking for a NUL.
+Files: src/message.c
+
+Patch 7.4.2350
+Problem: Test 86 and 87 fail with some version of Python.
+Solution: Unify "can't" and "cannot". Unify quotes.
+Files: src/testdir/test86.in, src/testdir/test86.ok,
+ src/testdir/test87.in, src/testdir/test87.ok
+
+Patch 7.4.2351
+Problem: Netbeans test fails when run from unpacked MS-Windows sources.
+Solution: Open README.txt instead of Makefile.
+Files: src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim
+
+Patch 7.4.2352
+Problem: Netbeans test fails in shadow directory.
+Solution: Also copy README.txt to the shadow directory.
+Files: src/Makefile
+
+Patch 7.4.2353
+Problem: Not enough test coverage for Normal mode commands.
+Solution: Add more tests. (Christian Brabandt)
+Files: src/testdir/test_normal.vim
+
+Patch 7.4.2354
+Problem: The example that explains nested backreferences does not work
+ properly with the new regexp engine. (Harm te Hennepe)
+Solution: Also save the end position when adding a state. (closes #990)
+Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
+
+Patch 7.4.2355
+Problem: Regexp fails to match when using "\>\)\?". (Ramel)
+Solution: When a state is already in the list, but addstate_here() is used
+ and the existing state comes later, add the new state anyway.
+Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim
+
+Patch 7.4.2356
+Problem: Reading past end of line when using previous substitute pattern.
+ (Dominique Pelle)
+Solution: Don't set "pat" only set "searchstr".
+Files: src/search.c, src/testdir/test_search.vim
+
+Patch 7.4.2357
+Problem: Attempt to read history entry while not initialized.
+Solution: Skip when the index is negative.
+Files: src/ex_getln.c
+
+Patch 7.4.2358
+Problem: Compiler warnings with Solaris Studio when using GTK3.
+Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama)
+Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c
+
[STILL MORE COMING!]
vim:tw=78:ts=8:ft=help:norl: