diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-06 10:14:03 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-06 10:14:03 +0100 |
commit | 0ac82f0a1798e7a82f83e549f9b60fbdc24287a5 (patch) | |
tree | 6fa8959270b3bd05d998735a8f9d4999355a20f6 /ale_linters/vim | |
parent | 3ecdb52e6c8a0c36580814edddbb8bbd25df426b (diff) | |
download | ale-0ac82f0a1798e7a82f83e549f9b60fbdc24287a5.zip |
#532 Rename a Vint variable so it's more obvious
Diffstat (limited to 'ale_linters/vim')
-rw-r--r-- | ale_linters/vim/vint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/vim/vint.vim b/ale_linters/vim/vint.vim index 3a5c40e4..1bb3a5b9 100644 --- a/ale_linters/vim/vint.vim +++ b/ale_linters/vim/vint.vim @@ -6,7 +6,7 @@ let g:ale_vim_vint_show_style_issues = \ get(g:, 'ale_vim_vint_show_style_issues', 1) let s:vint_version = ale#semver#Parse(system('vint --version')) -let s:has_no_color_support = ale#semver#GreaterOrEqual(s:vint_version, [0, 3, 7]) +let s:can_use_no_color_flag = ale#semver#GreaterOrEqual(s:vint_version, [0, 3, 7]) let s:enable_neovim = has('nvim') ? ' --enable-neovim ' : '' let s:format = '-f "{file_path}:{line_number}:{column_number}: {severity}: {description} (see {reference})"' @@ -15,7 +15,7 @@ function! ale_linters#vim#vint#GetCommand(buffer) abort return 'vint ' \ . l:warning_flag . ' ' - \ . (s:has_no_color_support ? '--no-color ' : '') + \ . (s:can_use_no_color_flag ? '--no-color ' : '') \ . s:enable_neovim \ . s:format \ . ' %t' |