summaryrefslogtreecommitdiff
path: root/test/command_callback/test_vint_command_callback.vader
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-05-26 08:02:12 +0100
committerKeith Maxwell <keith.maxwell@gmail.com>2020-05-30 08:38:07 +0100
commit53bfe418413746f582295a84ddf7a374ac84e154 (patch)
tree6e1a4fc2061d8769eee58ddad86e4a4483936316 /test/command_callback/test_vint_command_callback.vader
parent7265ceb6d050d1a4642741d248f11e4f2abd37e1 (diff)
downloadale-53bfe418413746f582295a84ddf7a374ac84e154.zip
vim/vint: show policy name
So that I can find the relevant information in the vint linting policy summary and policies can be easily configured https://github.com/Vimjas/vint/wiki/Vint-linting-policy-summary Before this change an example warning message appears as: autocmd should execute in an augroup or execute with a group (see :help :autocmd) After this change the same example appears as: ProhibitAutocmdWithNoGroup - autocmd should execute in an augroup or execute with a group (see :help :autocmd)
Diffstat (limited to 'test/command_callback/test_vint_command_callback.vader')
-rw-r--r--test/command_callback/test_vint_command_callback.vader2
1 files changed, 1 insertions, 1 deletions
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