mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
Merge pull request #4362 from justinmk/termopen
term: publish TermOpen in "e term://" handler.
This commit is contained in:
@@ -324,7 +324,8 @@ int main(int argc, char **argv)
|
|||||||
"'\\c\\mterm://\\%(.\\{-}//\\%(\\d\\+:\\)\\?\\)\\?\\zs.*'), "
|
"'\\c\\mterm://\\%(.\\{-}//\\%(\\d\\+:\\)\\?\\)\\?\\zs.*'), "
|
||||||
// capture the working directory
|
// capture the working directory
|
||||||
"{'cwd': get(matchlist(expand(\"<amatch>\"), "
|
"{'cwd': get(matchlist(expand(\"<amatch>\"), "
|
||||||
"'\\c\\mterm://\\(.\\{-}\\)//'), 1, '')})");
|
"'\\c\\mterm://\\(.\\{-}\\)//'), 1, '')})"
|
||||||
|
"|doautocmd TermOpen");
|
||||||
|
|
||||||
/* Execute --cmd arguments. */
|
/* Execute --cmd arguments. */
|
||||||
exe_pre_commands(¶ms);
|
exe_pre_commands(¶ms);
|
||||||
|
Reference in New Issue
Block a user