Skip to content

Commit 3a1aad8

Browse files
committed
style: Normalize indentation and other whitespace
1 parent a2ab888 commit 3a1aad8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

plugin/vimux.vim

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ command -bar VimuxClearRunnerHistory :call VimuxClearRunnerHistory()
3535
command -bar VimuxTogglePane :call VimuxTogglePane()
3636

3737
function! VimuxRunCommandInDir(command, useFile)
38-
let l:file = ''
39-
if a:useFile ==# 1
40-
let l:file = shellescape(expand('%:t'), 1)
41-
endif
42-
call VimuxRunCommand('(cd '.shellescape(expand('%:p:h'), 1).' && '.a:command.' '.l:file.')')
38+
let l:file = ''
39+
if a:useFile ==# 1
40+
let l:file = shellescape(expand('%:t'), 1)
41+
endif
42+
call VimuxRunCommand('(cd '.shellescape(expand('%:p:h'), 1).' && '.a:command.' '.l:file.')')
4343
endfunction
4444

4545
function! VimuxRunLastCommand()
@@ -114,11 +114,11 @@ endfunction
114114
function! VimuxTogglePane()
115115
if exists('g:VimuxRunnerIndex')
116116
if s:VimuxRunnerType() ==# 'window'
117-
call s:VimuxTmux('join-pane -d -s '.g:VimuxRunnerIndex.' -p '.s:VimuxOption('g:VimuxHeight', 20))
118-
let g:VimuxRunnerType = 'pane'
117+
call s:VimuxTmux('join-pane -d -s '.g:VimuxRunnerIndex.' -p '.s:VimuxOption('g:VimuxHeight', 20))
118+
let g:VimuxRunnerType = 'pane'
119119
elseif s:VimuxRunnerType() ==# 'pane'
120-
let g:VimuxRunnerIndex=substitute(s:VimuxTmux('break-pane -d -t '.g:VimuxRunnerIndex." -P -F '#{window_id}'"), '\n', '', '')
121-
let g:VimuxRunnerType = 'window'
120+
let g:VimuxRunnerIndex=substitute(s:VimuxTmux('break-pane -d -t '.g:VimuxRunnerIndex." -P -F '#{window_id}'"), '\n', '', '')
121+
let g:VimuxRunnerType = 'window'
122122
endif
123123
endif
124124
endfunction
@@ -245,7 +245,7 @@ function! s:VimuxRunnerType()
245245
endfunction
246246

247247
function! s:VimuxTmuxProperty(property)
248-
return substitute(s:VimuxTmux("display -p '".a:property."'"), '\n$', '', '')
248+
return substitute(s:VimuxTmux("display -p '".a:property."'"), '\n$', '', '')
249249
endfunction
250250

251251
function! s:VimuxHasRunner(index)

0 commit comments

Comments
 (0)