Skip to content

Commit 21dad81

Browse files
author
skywind3000
committed
new runner: iterm
1 parent 3317ac1 commit 21dad81

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

autoload/asyncrun/runner/iterm.vim

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"======================================================================
2+
"
3+
" macos.vim -
4+
"
5+
" Created by skywind on 2021/12/30
6+
" Last Modified: 2021/12/30 20:06:52
7+
"
8+
"======================================================================
9+
10+
function! asyncrun#runner#iterm#run(opts)
11+
if asyncrun#macos#check() == 0
12+
return asyncrun#utils#errmsg('require macOS !')
13+
endif
14+
call asyncrun#macos#start_command('iterm', a:opts)
15+
redraw!
16+
endfunc
17+
18+
19+

0 commit comments

Comments
 (0)