diff options
author | w0rp <w0rp@users.noreply.github.com> | 2020-08-29 20:54:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 20:54:09 +0100 |
commit | 0989da4a38c80983548db623d407d7178f2452d5 (patch) | |
tree | 819309a6cd670efe65e62b65226878b260bd3e92 | |
parent | 33202a39f57a9cf75aed5896764976d56cb1ac7a (diff) | |
parent | 53bfe418413746f582295a84ddf7a374ac84e154 (diff) | |
download | ale-0989da4a38c80983548db623d407d7178f2452d5.zip |
Merge pull request #3194 from maxwell-k/vint
vim/vint: show policy name
-rw-r--r-- | ale_linters/vim/vint.vim | 2 | ||||
-rw-r--r-- | test/command_callback/test_vint_command_callback.vader | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/vim/vint.vim b/ale_linters/vim/vint.vim index 65e19126..c7461bc8 100644 --- a/ale_linters/vim/vint.vim +++ b/ale_linters/vim/vint.vim @@ -5,7 +5,7 @@ call ale#Set('vim_vint_show_style_issues', 1) call ale#Set('vim_vint_executable', 'vint') let s:enable_neovim = has('nvim') ? ' --enable-neovim' : '' -let s:format = '-f "{file_path}:{line_number}:{column_number}: {severity}: {description} (see {reference})"' +let s:format = '-f "{file_path}:{line_number}:{column_number}: {severity}: {policy_name} - {description} (see {reference})"' function! ale_linters#vim#vint#GetCommand(buffer, version) abort let l:can_use_no_color_flag = empty(a:version) diff --git a/test/command_callback/test_vint_command_callback.vader b/test/command_callback/test_vint_command_callback.vader index e0051f26..4ce277e8 100644 --- a/test/command_callback/test_vint_command_callback.vader +++ b/test/command_callback/test_vint_command_callback.vader @@ -1,7 +1,7 @@ Before: call ale#assert#SetUpLinterTest('vim', 'vint') let b:command_tail = (has('nvim') ? ' --enable-neovim' : '') - \ . ' -f "{file_path}:{line_number}:{column_number}: {severity}: {description} (see {reference})" %t' + \ . ' -f "{file_path}:{line_number}:{column_number}: {severity}: {policy_name} - {description} (see {reference})" %t' After: unlet! b:bin_dir |