aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-10-12 15:39:36 -0400
committerGitHub <noreply@github.com>2018-10-12 15:39:36 -0400
commit4c780d663f6ea8ab350e95a707bb98a96c4cc701 (patch)
treeb4e1bd5fe0604fed6f8b4281c39666d5cbb60b9e /runtime/doc
parentb26411bacdebf2e483ce6bd670cfb573555156ec (diff)
parentb5e3fec621947ec681d1e7d9bc48eac19cde746d (diff)
downloadrneovim-4c780d663f6ea8ab350e95a707bb98a96c4cc701.tar.gz
rneovim-4c780d663f6ea8ab350e95a707bb98a96c4cc701.tar.bz2
rneovim-4c780d663f6ea8ab350e95a707bb98a96c4cc701.zip
Merge pull request #9114 from nono/vim-2f0584910c0e
vim-patch:2f0584910c0e
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt7
-rw-r--r--runtime/doc/insert.txt3
-rw-r--r--runtime/doc/options.txt4
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: >