From 0ac82f0a1798e7a82f83e549f9b60fbdc24287a5 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 6 May 2017 10:14:03 +0100 Subject: [PATCH] #532 Rename a Vint variable so it's more obvious --- ale_linters/vim/vint.vim | 4 ++-- 1 file 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'