1
0
forked from aniani/vim

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>
This commit is contained in:
zeertzjq
2025-02-28 17:32:07 +01:00
committed by Christian Brabandt
parent da53af57a7
commit 5e8b2268e1
3 changed files with 29 additions and 2 deletions

View File

@@ -789,7 +789,7 @@ ex_compiler(exarg_T *eap)
{
// ":compiler! {name}" sets global options
do_cmdline_cmd((char_u *)
"command -nargs=* CompilerSet set <args>");
"command -nargs=* -keepscript CompilerSet set <args>");
}
else
{