aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-29 09:27:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-29 09:29:17 +0100
commit9da951ad47c97175e1efa520e582a26f0db1e1cf (patch)
treec8578053ac6605ceaa2dab9dffe392d58e3be2f7 /runtime/doc
parent633ae523f5cf414e23385d3de0aeced702d12a9f (diff)
downloadrneovim-9da951ad47c97175e1efa520e582a26f0db1e1cf.tar.gz
rneovim-9da951ad47c97175e1efa520e582a26f0db1e1cf.tar.bz2
rneovim-9da951ad47c97175e1efa520e582a26f0db1e1cf.zip
vim-patch:0b0f0992d46e
Update runtime files. https://github.com/vim/vim/commit/0b0f0992d46ef02fdfc1240744bef91d4299c1df
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt8
-rw-r--r--runtime/doc/indent.txt19
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/tabpage.txt3
4 files changed, 27 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 1f3a3a8b67..7a5b90c88d 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5358,7 +5358,8 @@ maparg({name} [, {mode} [, {abbr} [, {dict}]]]) *maparg()*
listing.
When there is no mapping for {name}, an empty String is
- returned.
+ returned. When the mapping for {name} is empty, then "<Nop>"
+ is returned.
The {name} can have special key names, like in the ":map"
command.
@@ -5425,9 +5426,10 @@ mapcheck({name} [, {mode} [, {abbr}]]) *mapcheck()*
mapping that matches with {name}, while maparg() only finds a
mapping for {name} exactly.
When there is no mapping that starts with {name}, an empty
- String is returned. If there is one, the rhs of that mapping
+ String is returned. If there is one, the RHS of that mapping
is returned. If there are several mappings that start with
- {name}, the rhs of one of them is returned.
+ {name}, the RHS of one of them is returned. This will be
+ "<Nop>" if the RHS is empty.
The mappings local to the current buffer are checked first,
then the global mappings.
This function can be used to check if a mapping can be added
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index dc7836e713..ad6b2bc220 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -903,6 +903,25 @@ 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.
+-------------
+
+ *PHP_noArrowMatching*
+By default the indent script will indent multi-line chained calls by matching
+the position of the '->': >
+
+ $user_name_very_long->name()
+ ->age()
+ ->info();
+
+You can revert to the classic way of indenting by setting this option to 1: >
+ :let g:PHP_noArrowMatching = 1
+
+You will obtain the following result: >
+
+ $user_name_very_long->name()
+ ->age()
+ ->info();
+
PYTHON *ft-python-indent*
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 95cfb527ea..e107de52cd 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3786,7 +3786,7 @@ A jump table for the options with a short description can be found at |Q_op|.
more depth, set 'maxfuncdepth' to a bigger number. But this will use
more memory, there is the danger of failing when memory is exhausted.
Increasing this limit above 200 also changes the maximum for Ex
- command resursion, see |E169|.
+ command recursion, see |E169|.
See also |:function|.
*'maxmapdepth'* *'mmd'* *E223*
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index 6be7cf9746..8d23d4e599 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -203,7 +203,8 @@ gT Go to the previous tab page. Wraps around from the first one
:tabN[ext] {count}
{count}<C-PageUp>
{count}gT Go {count} tab pages back. Wraps around from the first one
- to the last one.
+ to the last one. Note that the use of {count} is different
+ from |:tabnext|, where it is used as the tab page number.
:tabr[ewind] *:tabfir* *:tabfirst* *:tabr* *:tabrewind*
:tabfir[st] Go to the first tab page.