refactor: use ale#Pad for option padding across the codebase (#5091)

Co-authored-by: PsickOSSH <PsickOSSH@protonmail.com>
This commit is contained in:
PsickOSSH
2026-02-07 09:23:48 +01:00
committed by GitHub
parent e762262f44
commit af5a38c697
45 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ function! ale_linters#go#revive#GetCommand(buffer) abort
let l:options = ale#Var(a:buffer, 'go_revive_options')
return ale#go#EnvString(a:buffer) . '%e'
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ale#Pad(l:options)
\ . ' %t'
endfunction
+2 -2
View File
@@ -13,11 +13,11 @@ function! ale_linters#go#staticcheck#GetCommand(buffer) abort
if l:lint_package
return l:env . '%e'
\ . (!empty(l:options) ? ' ' . l:options : '') . ' .'
\ . ale#Pad(l:options) . ' .'
endif
return l:env . '%e'
\ . (!empty(l:options) ? ' ' . l:options : '')
\ . ale#Pad(l:options)
\ . ' %s:t'
endfunction