diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-12 11:25:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-12 11:25:11 +0000 |
commit | 58ef8a31d7087d495ab1582be5b7a22796ac2451 (patch) | |
tree | dbae171d4c49dbe2ba7e89ef94561fa357610e72 /runtime | |
parent | 0c71114aede81a209b7efc126b4bf19f11d58955 (diff) | |
download | vim-git-58ef8a31d7087d495ab1582be5b7a22796ac2451.tar.gz |
patch 8.2.3584: "verbose set efm" reports location of the :compiler commandv8.2.3584
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.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/map.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 2c7735571..f50377b4e 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1569,6 +1569,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 |