mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(excmd): append original command to error message
Revert the change to do_cmdline_cmd() from #5226. This function is used in many places, so making it different from Vim leads to small differences from Vim in the behavior of some functions like execute() and assert_fails(). If DOCMD_VERBOSE really needs to be removed somewhere, a do_cmdline() call without DOCMD_VERBOSE is also shorter than a do_cmdline() call with DOCMD_VERBOSE.
This commit is contained in:
@@ -1720,7 +1720,7 @@ describe("'inccommand' and :cnoremap", function()
|
||||
|
||||
local function refresh(case, visual)
|
||||
clear()
|
||||
screen = visual and Screen.new(50,10) or nil
|
||||
screen = visual and Screen.new(80,10) or nil
|
||||
common_setup(screen, case, default_text)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user