patch 9.1.1158: :verbose set has wrong file name with :compiler!
Problem: :verbose set has wrong file name with :compiler!
Solution: Add -keepscript (zeertzjq)
closes: #16752
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index 0681153..567522c 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -789,7 +789,7 @@
{
// ":compiler! {name}" sets global options
do_cmdline_cmd((char_u *)
- "command -nargs=* CompilerSet set <args>");
+ "command -nargs=* -keepscript CompilerSet set <args>");
}
else
{