summaryrefslogtreecommitdiff
path: root/ale_linters/vala
diff options
context:
space:
mode:
authorAtsuya Takagi <asoftonight@gmail.com>2021-01-04 16:28:51 +0900
committerAtsuya Takagi <asoftonight@gmail.com>2021-01-23 00:08:01 +0900
commited2afafd621503f684c31a5e6e75e358f7ccb6ef (patch)
tree20d7b27caca15062dbd7d6b75eb45650153f0a1a /ale_linters/vala
parent823b094f5618c9dd53a0a56bbf131ed077f4105b (diff)
downloadale-ed2afafd621503f684c31a5e6e75e358f7ccb6ef.zip
use ale#Set for setting default config variable values
Diffstat (limited to 'ale_linters/vala')
-rw-r--r--ale_linters/vala/vala_lint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/vala/vala_lint.vim b/ale_linters/vala/vala_lint.vim
index 24ade378..d540323c 100644
--- a/ale_linters/vala/vala_lint.vim
+++ b/ale_linters/vala/vala_lint.vim
@@ -1,8 +1,8 @@
" Author: Atsuya Takagi <asoftonight@gmail.com>
" Description: A linter for Vala using Vala-Lint.
-let g:ale_vala_vala_lint_enable_config = get(g:, 'ale_vala_vala_lint_enable_config', 0)
-let g:ale_vala_vala_lint_config_filename = get(g:, 'ale_vala_vala_lint_config_filename', 'vala-lint.conf')
+call ale#Set('vala_vala_lint_enable_config', 0)
+call ale#Set('vala_vala_lint_config_filename', 'vala-lint.conf')
function! ale_linters#vala#vala_lint#GetCommand(buffer) abort
let l:command = 'io.elementary.vala-lint '