Skip to content

Commit

Permalink
Remove extraneous space 🧼
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeinhardt committed Apr 18, 2024
1 parent e887d42 commit 36c4156
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions plugin/maxdown.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ let s:profile = 'release'
let s:path = fnamemodify(fnamemodify(resolve(expand('<sfile>:p')), ':h'), ':h')
let s:cmd = s:path . '/target/' . s:profile . '/maxdown'

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 . ' && cargo build --release --locked')
Expand Down

0 comments on commit 36c4156

Please sign in to comment.