summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-03-11 12:52:41 -0400
committerw0rp <devw0rp@gmail.com>2020-03-11 12:52:41 -0400
commitbbe5153fcb36dec9860ced33ae8ff0b5d76ac02a (patch)
treefcf15f5db23f06ed91371481c4f09470a47c8e35 /plugin
parent8f7ccdc5e95302223c516a0113f5af7e075dc041 (diff)
downloadale-bbe5153fcb36dec9860ced33ae8ff0b5d76ac02a.zip
Fixes #2982 - Implement g:ale_exclude_highlights
Particular highlights can now be excluded by providing Lists of regular expressions.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 8fea3bb4..19c86ea6 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -109,6 +109,9 @@ let g:ale_set_signs = get(g:, 'ale_set_signs', has('signs'))
" This flag can be set to 0 to disable setting error highlights.
let g:ale_set_highlights = get(g:, 'ale_set_highlights', has('syntax'))
+" This List can be configured to exclude particular highlights.
+let g:ale_exclude_highlights = get(g:, 'ale_exclude_highlights', [])
+
" This flag can be set to 0 to disable echoing when the cursor moves.
let g:ale_echo_cursor = get(g:, 'ale_echo_cursor', 1)