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 /src/ex_cmds2.c | |
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 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 15560d82b..8e7da18aa 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -754,7 +754,7 @@ ex_compiler(exarg_T *eap) if (old_cur_comp != NULL) old_cur_comp = vim_strsave(old_cur_comp); do_cmdline_cmd((char_u *) - "command -nargs=* CompilerSet setlocal <args>"); + "command -nargs=* -keepscript CompilerSet setlocal <args>"); } do_unlet((char_u *)"g:current_compiler", TRUE); do_unlet((char_u *)"b:current_compiler", TRUE); |