summaryrefslogtreecommitdiff
path: root/ale_linters/vala/vala_lint.vim
diff options
context:
space:
mode:
authorAtsuya Takagi <asoftonight@gmail.com>2021-01-05 17:51:59 +0900
committerAtsuya Takagi <asoftonight@gmail.com>2021-01-23 00:08:01 +0900
commit4328fe7dca248266a5cbaa0546581f37d0cf4c64 (patch)
tree05cd9f995033c147d7496dd6f7805cb8f274d774 /ale_linters/vala/vala_lint.vim
parent04550717bf023db549c67510c7df429d154f3934 (diff)
downloadale-4328fe7dca248266a5cbaa0546581f37d0cf4c64.zip
add a blank line before if statement
Diffstat (limited to 'ale_linters/vala/vala_lint.vim')
-rw-r--r--ale_linters/vala/vala_lint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/vala/vala_lint.vim b/ale_linters/vala/vala_lint.vim
index d540323c..45e9b7d8 100644
--- a/ale_linters/vala/vala_lint.vim
+++ b/ale_linters/vala/vala_lint.vim
@@ -10,6 +10,7 @@ function! ale_linters#vala#vala_lint#GetCommand(buffer) abort
if ale#Var(a:buffer, 'vala_vala_lint_enable_config')
let l:config_filename = ale#Var(a:buffer, 'vala_vala_lint_config_filename')
let l:config_path = ale#path#FindNearestFile(a:buffer, l:config_filename)
+
if !empty(l:config_path)
let l:command .= '-c ' . l:config_path . ' '
endif