Skip to content

Commit 649df90

Browse files
committed
adding vimux support
1 parent f00e04a commit 649df90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/arduino.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ function! arduino#InitializeConfig() abort
6161
if !exists('g:arduino_use_slime')
6262
let g:arduino_use_slime = 0
6363
endif
64-
if !exists('g:arduino_use_tmux') || !exists('$TMUX')
65-
let g:arduino_use_tmux = 0
64+
if !exists('g:arduino_use_vimux') || !exists('$TMUX')
65+
let g:arduino_use_vimux = 0
6666
endif
6767

6868
if !exists('g:arduino_run_headless')
@@ -87,7 +87,7 @@ endfunction
8787
function! arduino#RunCmd(cmd) abort
8888
if g:arduino_use_slime
8989
call slime#send(a:cmd . "\r")
90-
elseif g:arduino_use_tmux
90+
elseif g:arduino_use_vimux
9191
call VimuxRunCommand(a:cmd)
9292
else
9393
exe s:TERM . a:cmd

0 commit comments

Comments
 (0)