Mercurial > vim
diff runtime/doc/map.txt @ 26103:d079ab2ba260 v8.2.3584
patch 8.2.3584: "verbose set efm" reports location of the :compiler command
Commit: https://github.com/vim/vim/commit/58ef8a31d7087d495ab1582be5b7a22796ac2451
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 12 11:25:11 2021 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Nov 2021 12:30:05 +0100 |
parents | ebedba7a4898 |
children | 624439a39432 |
line wrap: on
line diff
--- 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