mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +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:
@@ -65,11 +65,11 @@ describe('python3 provider', function()
|
||||
matches(
|
||||
string.format(
|
||||
dedent([[
|
||||
^Error invoking 'python_execute' on channel 3 %%(python3%%-script%%-host%%):
|
||||
File "<string>", line 1
|
||||
print%%(%s b%%)
|
||||
%%C*
|
||||
SyntaxError: invalid syntax%%C*$]]),
|
||||
^Invoking 'python_execute' on channel 3 %%(python3%%-script%%-host%%):
|
||||
File "<string>", line 1
|
||||
print%%(%s b%%)
|
||||
%%C*
|
||||
SyntaxError: invalid syntax%%C*$]]),
|
||||
very_long_symbol
|
||||
),
|
||||
eval('v:errmsg')
|
||||
|
||||
Reference in New Issue
Block a user