mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3174: Vim9: "legacy undo" finds "undo" variable
Problem: Vim9: "legacy undo" finds "undo" variable. Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
This commit is contained in:
@@ -9510,7 +9510,8 @@ compile_def_function(
|
||||
}
|
||||
}
|
||||
}
|
||||
p = find_ex_command(&ea, NULL, starts_with_colon
|
||||
p = find_ex_command(&ea, NULL,
|
||||
starts_with_colon || (local_cmdmod.cmod_flags & CMOD_LEGACY)
|
||||
? NULL : item_exists, &cctx);
|
||||
|
||||
if (p == NULL)
|
||||
|
Reference in New Issue
Block a user