1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 17:25:46 +01:00

Add *very* basic (and bad) E4X highlighting for vim.

This commit is contained in:
Kris Maglione
2008-12-09 22:00:47 -05:00
parent ce8d5c369e
commit 374004e31b
7 changed files with 366 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ function AutoCommands() //{{{
lastPattern = autoCmd.pattern;
liberator.echomsg("autocommand " + autoCmd.command, 9);
if (autoCmd.command instanceof Function)
if (typeof autoCmd.command == "function")
autoCmd.command.call(autoCmd, args);
else
liberator.execute(commands.replaceTokens(autoCmd.command, args));