Skip to content
Myr

[neovim] use batchfile for s:execute_term in Windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jan Edmund Lazo · committed by Junegunn Choi · parent 5097e56 · Browse files · 1 file+8 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−1 removed

  • other:+8 added−1 removed

1 file+8 added−1 removed

modified:plugin/fzf.vim+8 added-1 removed
683 unmodified lines
684 try685 if s:present(a:dict, 'dir')686 execute 'lcd' s:escape(a:dict.dir)687 endif688 if s:is_win689 let fzf.temps.batchfile = s:fzf_tempname().'.bat'690 call writefile(s:wrap_cmds(a:command), fzf.temps.batchfile)691 let command = fzf.temps.batchfile692 else693 let command = a:command694 endif688 call termopen(a:command.s:term_marker, fzf)695 call termopen(command.s:term_marker, fzf)696 finally697 if s:present(a:dict, 'dir')698 lcd -699 endif
93 unmodified lines