mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:65672ae1189e (#26767)
runtime(doc): clarify behaviour of ]m and ]M motions
In particular remove the sentence, that a missing '{'
(for ]m) or '}' (for ]M) after the cursor is an error, since
currently this is not treated as an error.
fixes: vim/vim#13777
65672ae118
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
b3940cf8a1
commit
e0d998dbc8
@ -1292,14 +1292,12 @@ bring you back to the switch statement.
|
|||||||
]m Go to [count] next start of a method (for Java or
|
]m Go to [count] next start of a method (for Java or
|
||||||
similar structured language). When not before the
|
similar structured language). When not before the
|
||||||
start of a method, jump to the start or end of the
|
start of a method, jump to the start or end of the
|
||||||
class. When no '{' is found after the cursor, this is
|
class. |exclusive| motion.
|
||||||
an error. |exclusive| motion.
|
|
||||||
*]M*
|
*]M*
|
||||||
]M Go to [count] next end of a method (for Java or
|
]M Go to [count] next end of a method (for Java or
|
||||||
similar structured language). When not before the end
|
similar structured language). When not before the end
|
||||||
of a method, jump to the start or end of the class.
|
of a method, jump to the start or end of the class.
|
||||||
When no '}' is found after the cursor, this is an
|
|exclusive| motion.
|
||||||
error. |exclusive| motion.
|
|
||||||
*[m*
|
*[m*
|
||||||
[m Go to [count] previous start of a method (for Java or
|
[m Go to [count] previous start of a method (for Java or
|
||||||
similar structured language). When not after the
|
similar structured language). When not after the
|
||||||
|
Loading…
Reference in New Issue
Block a user