Merge pull request #4362 from justinmk/termopen

term: publish TermOpen in "e term://" handler.
This commit is contained in:
Justin M. Keyes 2016-02-27 19:08:41 -05:00
commit b01db02de4

View File

@ -324,7 +324,8 @@ int main(int argc, char **argv)
"'\\c\\mterm://\\%(.\\{-}//\\%(\\d\\+:\\)\\?\\)\\?\\zs.*'), "
// capture the working directory
"{'cwd': get(matchlist(expand(\"<amatch>\"), "
"'\\c\\mterm://\\(.\\{-}\\)//'), 1, '')})");
"'\\c\\mterm://\\(.\\{-}\\)//'), 1, '')})"
"|doautocmd TermOpen");
/* Execute --cmd arguments. */
exe_pre_commands(&params);