File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,14 @@ if exists("g:loaded_vimux") || &cp
3
3
endif
4
4
let g: loaded_vimux = 1
5
5
6
+ function ! _VimuxOption (option , default)
7
+ if exists (a: option )
8
+ return eval (a: option )
9
+ else
10
+ return a: default
11
+ endif
12
+ endfunction
13
+
6
14
function ! _VimuxTmuxCmd ()
7
15
return _VimuxOption (" g:VimuxTmuxCommand" , " tmux" )
8
16
endfunction
@@ -204,14 +212,6 @@ function! _VimuxRunnerType()
204
212
return _VimuxOption (" g:VimuxRunnerType" , " pane" )
205
213
endfunction
206
214
207
- function ! _VimuxOption (option , default)
208
- if exists (a: option )
209
- return eval (a: option )
210
- else
211
- return a: default
212
- endif
213
- endfunction
214
-
215
215
function ! _VimuxTmuxProperty (property)
216
216
return substitute (_VimuxTmux (" display -p '" .a: property ." '" ), ' \n$' , ' ' , ' ' )
217
217
endfunction
You can’t perform that action at this time.
0 commit comments