mirror of
https://github.com/dense-analysis/ale
synced 2024-12-22 14:13:12 +00:00
use ale#Set for setting default config variable values
This commit is contained in:
parent
823b094f56
commit
ed2afafd62
@ -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 '
|
||||
|
Loading…
Reference in New Issue
Block a user