We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 762e5ce commit a72a952Copy full SHA for a72a952
plugin/asyncrun.vim
@@ -3,7 +3,7 @@
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2023
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
"
6
-" Last Modified: 2023/08/03 12:59
+" Last Modified: 2023/08/03 13:04
7
8
" Run shell command in background and output to quickfix:
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1441,6 +1441,12 @@ function! s:terminal_open(opts)
1441
echohl None
1442
endtry
1443
endif
1444
+ if has_key(a:opts, 'ft')
1445
+ let ft = get(a:opts, 'ft', '')
1446
+ if ft != ''
1447
+ exec 'setlocal ft='. ft
1448
+ endif
1449
1450
1451
1452
return pid
0 commit comments