Skip to content

Commit

Permalink
Fix vint autoload plugin errors
Browse files Browse the repository at this point in the history
autoload/LanguageClient.vim:599:1: Use the abort attribute for functions in autoload (see Google VimScript Style Guide (Functions))
autoload/LanguageClient.vim:605:13: Prefer single quoted strings (see Google VimScript Style Guide (Strings))
  • Loading branch information
abitrolly committed Apr 9, 2021
1 parent 580bd49 commit b9a0220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/LanguageClient.vim
Original file line number Diff line number Diff line change
Expand Up @@ -794,13 +794,13 @@ function! LanguageClient#binaryPath() abort
return l:path . l:filename
endfunction

function! LanguageClient#installBinaries()
function! LanguageClient#installBinaries() abort
let l:installsh = 'cd ' . s:root . ' && ./install.sh'
let l:output = split(system(l:installsh), '\n')
for l:line in l:output
echomsg l:line
endfor
echomsg "Success."
echomsg 'Success.'
endfunction

function! s:Launch() abort
Expand Down

0 comments on commit b9a0220

Please sign in to comment.