mirror of
https://github.com/neovim/neovim.git
synced 2026-01-25 14:16:04 +00:00
feat(messages): cleanup Lua error messages
"Error" in error messages is redundant. Just provide the context, don't say "Error ...".
This commit is contained in:
@@ -689,7 +689,7 @@ describe('nvim_create_user_command', function()
|
||||
})
|
||||
]])
|
||||
feed(':Test <Tab>')
|
||||
eq('E5108: Error executing Lua function: [NULL]', api.nvim_get_vvar('errmsg'))
|
||||
eq('E5108: Lua function: [NULL]', api.nvim_get_vvar('errmsg'))
|
||||
eq('Test ', fn.getcmdline())
|
||||
assert_alive()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user