From fe8c465b63590074fcef0f717f5b4b49fdb9d8d8 Mon Sep 17 00:00:00 2001 From: pmeinhardt Date: Mon, 10 Apr 2023 20:32:10 +0200 Subject: [PATCH] Fix function indentation --- plugin/ql.vim | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugin/ql.vim b/plugin/ql.vim index 41f66d5..994a35f 100644 --- a/plugin/ql.vim +++ b/plugin/ql.vim @@ -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')