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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user