summaryrefslogtreecommitdiff
path: root/ale_linters/vala/vala_lint.vim
diff options
context:
space:
mode:
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