aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
commit8e84d1b93043f33d997627f99a181159aa66434d (patch)
tree0aa2d8a6a9372d0fb2f2c9c46776b1b14c626cf2 /runtime
parentc977d8b43cd6ecf7ad756f9b064eadea79fbd604 (diff)
downloadrneovim-8e84d1b93043f33d997627f99a181159aa66434d.tar.gz
rneovim-8e84d1b93043f33d997627f99a181159aa66434d.tar.bz2
rneovim-8e84d1b93043f33d997627f99a181159aa66434d.zip
vim-patch:8.2.3584: "verbose set efm" reports location of the :compiler command
Problem: "verbose set efm" reports the location of the :compiler command. (Gary Johnson) Solution: Add the "-keepscript" argument to :command and use it when defining CompilerSet. https://github.com/vim/vim/commit/58ef8a31d7087d495ab1582be5b7a22796ac2451
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/map.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index d83682b02b..1787fb0fe6 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1434,6 +1434,9 @@ There are some special cases as well:
-register The first argument to the command can be an optional
register name (like :del, :put, :yank).
-buffer The command will only be available in the current buffer.
+ -keepscript Do not use the location of where the user command was
+ defined for verbose messages, use the location of where
+ the user command was invoked.
In the cases of the -count and -register attributes, if the optional argument
is supplied, it is removed from the argument list and is available to the