fix typo in v.mappings.hasMap

This commit is contained in:
Doug Kearns committed 2007-11-29 13:10:57 +00:00
1 parent d9acf8c24b
commit a32a13755c
1 file changed
+1 -1
+1 -1
View File
@@ -192,7 +192,7 @@ vimperator.Mappings = function () //{{{
hasMap: function (mode, cmd)
{
return userMaps.some(function (map) { return map.hasName(cmd); });
return user[mode].some(function (map) { return map.hasName(cmd); });
},
add: function (map)