Skip to content

Commit

Permalink
Fix function indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeinhardt committed Apr 10, 2023
1 parent ebaace3 commit fe8c465
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions plugin/ql.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ elseif executable('open')
let s:cmd = 'open'
endif

function! s:exec(cmd, ...)
if a:0 > 0
let output = system(a:cmd, a:1)
else
let output = system(a:cmd)
endif
function! s:exec(cmd, ...)
if a:0 > 0
let output = system(a:cmd, a:1)
else
let output = system(a:cmd)
endif

if v:shell_error != 0
throw output
endif
endfunction
if v:shell_error != 0
throw output
endif
endfunction

function! s:compile() abort
call s:exec('cd ' . s:path . ' && make')
Expand Down

0 comments on commit fe8c465

Please sign in to comment.