Skip to content

Commit c87c49a

Browse files
authored
Merge pull request #33 from nihklas/main
fix: Opening tempfile now respects the opening command setting
2 parents d735b5b + b8965b0 commit c87c49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/inline_edit/proxy.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function! s:CreateProxyBuffer(proxy, lines)
172172
$delete _
173173
set nomodified
174174
elseif g:inline_edit_proxy_type == 'tempfile'
175-
exe 'silent noswapfile split ' . tempname()
175+
exe 'silent noswapfile ' . g:inline_edit_new_buffer_command . ' ' . tempname()
176176
call append(0, lines)
177177
$delete _
178178
write

0 commit comments

Comments
 (0)