mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 12:52:29 +02:00
:echo without arg should output an empty string instead of undefined
This commit is contained in:
1 parent
7c73c5d663
commit
39ca50905c
1 file changed
+3
@@ -486,6 +486,9 @@ function Commands() //{{{
|
||||
|
||||
function argToString(arg, color)
|
||||
{
|
||||
if (!arg)
|
||||
return "";
|
||||
|
||||
try
|
||||
{
|
||||
// TODO: move to vimperator.eval()?
|
||||
|
||||
Reference in new issue
Block a user