mirror of
https://github.com/neovim/neovim.git
synced 2025-12-19 21:05:37 +00:00
fix(excmd): :trust executed even when inside false condition (#36032)
Problem: :trust is executed even when inside false condition.
Solution: Make skip_cmd() return true for CMD_trust, as ex_trust() does
not handle eap->skip itself.
(cherry picked from commit 2f35221774)
This commit is contained in:
committed by
github-actions[bot]
parent
9ce88d5cb9
commit
7304fc275e
@@ -1940,7 +1940,6 @@ static bool skip_cmd(const exarg_T *eap)
|
||||
case CMD_throw:
|
||||
case CMD_tilde:
|
||||
case CMD_topleft:
|
||||
case CMD_trust:
|
||||
case CMD_unlet:
|
||||
case CMD_unlockvar:
|
||||
case CMD_verbose:
|
||||
|
||||
Reference in New Issue
Block a user