summaryrefslogtreecommitdiff
path: root/doc/ale.txt
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 /doc/ale.txt
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 'doc/ale.txt')
-rw-r--r--doc/ale.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 0d92d6d9..da4328d9 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -923,6 +923,21 @@ g:ale_enabled *g:ale_enabled*
See |g:ale_pattern_options| for more information on that option.
+g:ale_exclude_highlights *g:ale_exclude_highlights*
+b:ale_exclude_highlights *b:ale_exclude_highlights*
+
+ Type: |List|
+ Default: `[]`
+
+ A list of regular expressions for matching against highlight messages to
+ remove. For example: >
+
+ " Do not highlight messages matching strings like these.
+ let b:ale_exclude_highlights = ['line too long', 'foo.*bar']
+<
+ See also: |g:ale_set_highlights|
+
+
g:ale_fixers *g:ale_fixers*
*b:ale_fixers*
@@ -1609,6 +1624,8 @@ g:ale_set_highlights *g:ale_set_highlights*
match highlights, whereas the line highlights when signs are enabled will
run to the edge of the screen.
+ Highlights can be excluded with the |g:ale_exclude_highlights| option.
+
g:ale_set_loclist *g:ale_set_loclist*