1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:02:27 +01:00

add rough initial versions of :doautocmd and :doautoall, clean up autocommands,

and fix several :au bugs (although at this hour it's a crap-shoot)
This commit is contained in:
Doug Kearns
2008-10-04 16:33:18 +00:00
parent 56592a1490
commit 7275233327
7 changed files with 176 additions and 127 deletions

View File

@@ -177,6 +177,12 @@ liberator.Completion = function () //{{{
return buildLongestCommonSubstring(array, filter);
},
autocommand: function (filter)
{
let autoCmds = liberator.config.autocommands;
return [0, this.filter(autoCmds, filter)];
},
// FIXME: items shouldn't be [[[a], b]], but [[a, b]] and only mapped if at all for bLCS --mst
buffer: function (filter)
{