mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:17:58 +01:00
:echo without arg should output an empty string instead of undefined
This commit is contained in:
@@ -486,6 +486,9 @@ function Commands() //{{{
|
|||||||
|
|
||||||
function argToString(arg, color)
|
function argToString(arg, color)
|
||||||
{
|
{
|
||||||
|
if (!arg)
|
||||||
|
return "";
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// TODO: move to vimperator.eval()?
|
// TODO: move to vimperator.eval()?
|
||||||
|
|||||||
Reference in New Issue
Block a user