diff options
author | Bruno Michel <bmichel@menfin.info> | 2018-10-12 20:52:10 +0200 |
---|---|---|
committer | Bruno Michel <bmichel@menfin.info> | 2018-10-12 21:33:13 +0200 |
commit | b5e3fec621947ec681d1e7d9bc48eac19cde746d (patch) | |
tree | ac6b9c2dacc42307d1defd7265cc5ee5be091134 /runtime/doc | |
parent | 15a71338e3cc14ac194228256f7069451953ea17 (diff) | |
download | rneovim-b5e3fec621947ec681d1e7d9bc48eac19cde746d.tar.gz rneovim-b5e3fec621947ec681d1e7d9bc48eac19cde746d.tar.bz2 rneovim-b5e3fec621947ec681d1e7d9bc48eac19cde746d.zip |
vim-patch:2f0584910c0e
Update runtime files
https://github.com/vim/vim/commit/2f0584910c0ea93966dfa7b3b0272dfb16ea6f91
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 7 | ||||
-rw-r--r-- | runtime/doc/insert.txt | 3 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index ec4b8162fa..3f02365dab 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4336,11 +4336,11 @@ getqflist([{what}]) *getqflist()* following string items are supported in {what}: context get the context stored with |setqflist()| efm errorformat to use when parsing "lines". If - not present, then the 'erroformat' option + not present, then the 'errorformat' option value is used. id get information for the quickfix list with |quickfix-ID|; zero means the id for the - current list or the list specifed by "nr" + current list or the list specified by "nr" items quickfix list entries lines use 'errorformat' to extract items from a list of lines and return the resulting entries. @@ -7563,8 +7563,9 @@ submatch({nr} [, {list}]) *submatch()* *E935* When substitute() is used recursively only the submatches in the current (deepest) call can be obtained. - Example: > + Examples: > :s/\d\+/\=submatch(0) + 1/ + :echo substitute(text, '\d\+', '\=submatch(0) + 1', '') < This finds the first number in the line and adds one to it. A line break is included as a newline character. diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index d612f038a6..ef4e211d16 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1275,7 +1275,8 @@ it here: http://ctags.sourceforge.net/ Version 5.6 or later is recommended. For version 5.5.4 you should add a patch that adds the "typename:" field: ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch A compiled .exe for MS-Windows can be found at: - http://georgevreilly.com/vim/ctags.html + http://ctags.sourceforge.net/ + https://github.com/universal-ctags/ctags-win32 If you want to complete system functions you can do something like this. Use ctags to generate a tags file for all the system header files: > diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index f2962f0822..ab866da320 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3316,8 +3316,8 @@ A jump table for the options with a short description can be found at |Q_op|. pattern and/or a lot of text the match may not be found. This is to avoid that Vim hangs while you are typing the pattern. The |hl-IncSearch| highlight group determines the highlighting. - When 'hlsearch' is on, all matched strings are highlighted too while typing - a search command. See also: 'hlsearch'. + When 'hlsearch' is on, all matched strings are highlighted too while + typing a search command. See also: 'hlsearch'. If you don't want turn 'hlsearch' on, but want to highlight all matches while searching, you can turn on and off 'hlsearch' with autocmd. Example: > |