aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 14:08:45 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 14:22:52 -0400
commitb16c7c515c34d2f695a595527594325abc6a640b (patch)
treed539446f64bc19dbb6fe1ba1f2cbbf965d574c5f /runtime/doc
parentb084f49496c91f8f16dced5850774221921c1667 (diff)
downloadrneovim-b16c7c515c34d2f695a595527594325abc6a640b.tar.gz
rneovim-b16c7c515c34d2f695a595527594325abc6a640b.tar.bz2
rneovim-b16c7c515c34d2f695a595527594325abc6a640b.zip
vim-patch:4f4d51a942cc
Update runtime files. https://github.com/vim/vim/commit/4f4d51a942cc2c6b3e936ee0f93f00c2d000065c Omit "??" operator. Patches v8.2.1794,v8.2.1798 are not ported yet.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/index.txt4
-rw-r--r--runtime/doc/map.txt8
-rw-r--r--runtime/doc/options.txt4
-rw-r--r--runtime/doc/repeat.txt3
5 files changed, 16 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f41c499f88..fafe701d18 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2891,6 +2891,8 @@ byteidxcomp({expr}, {nr}) *byteidxcomp()*
< The first and third echo result in 3 ('e' plus composing
character is 3 bytes), the second echo results in 1 ('e' is
one byte).
+ Only works differently from byteidx() when 'encoding' is set to
+ a Unicode encoding.
call({func}, {arglist} [, {dict}]) *call()* *E699*
Call function {func} with the items in |List| {arglist} as
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 008bff9f07..e7d891bc33 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -771,10 +771,10 @@ tag char note action in Normal mode ~
lines down
|gk| gk 1 like "k", but when 'wrap' on go N screen
lines up
-|gn| gn 1,2 find the next match with the last used
- search pattern and Visually select it
|gm| gm 1 go to character at middle of the screenline
|gM| gM 1 go to character at middle of the text line
+|gn| gn 1,2 find the next match with the last used
+ search pattern and Visually select it
|go| go 1 cursor to byte N in the buffer
|gp| ["x]gp 2 put the text [from register x] after the
cursor N times, leave the cursor after it
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 6d141af42e..b97838e75c 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -230,7 +230,13 @@ text before the cursor and start omni completion when some condition is met.
For abbreviations |v:char| is set to the character that was typed to trigger
the abbreviation. You can use this to decide how to expand the {lhs}. You
should not either insert or change the v:char.
-
+
+In case you want the mapping to not do anything, you can have the expression
+evaluate to an empty string. If something changed that requires Vim to
+go through the main loop (e.g. to update the display), return "\<Ignore>".
+This is similar to "nothing" but makes Vim return from the loop that waits for
+input.
+
Also, keep in mind that the expression may be evaluated when looking for
typeahead, before the previous command has been executed. For example: >
func StoreColumn()
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 473f680cab..52065ea3b5 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1858,7 +1858,7 @@ A jump table for the options with a short description can be found at |Q_op|.
"x" delete each combining character on its own. When it is off (the
default) the character along with its combining characters are
deleted.
- Note: When 'delcombine' is set "xx" may work different from "2x"!
+ Note: When 'delcombine' is set "xx" may work differently from "2x"!
This is useful for Arabic, Hebrew and many other languages where one
may have combining characters overtop of base characters, and want
@@ -3554,7 +3554,7 @@ A jump table for the options with a short description can be found at |Q_op|.
characters. Example: "abc;ABC"
Example: "aA,fgh;FGH,cCdDeE"
Special characters need to be preceded with a backslash. These are
- ";", ',' and backslash itself.
+ ";", ',', '"', '|' and backslash itself.
This will allow you to activate vim actions without having to switch
back and forth between the languages. Your language characters will
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 0c45488578..f310dba1d7 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -253,6 +253,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
directories are added to 'runtimepath'. This is
useful in your .vimrc. The plugins will then be
loaded during initialization, see |load-plugins|.
+ Note that for ftdetect scripts to be loaded
+ you will need to write `filetype plugin indent on`
+ AFTER all `packadd!` commands.
Also see |pack-add|.