mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #4362 from justinmk/termopen
term: publish TermOpen in "e term://" handler.
This commit is contained in:
commit
b01db02de4
@ -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(¶ms);
|
||||
|
Loading…
Reference in New Issue
Block a user