summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-12 23:04:46 +0100
committerw0rp <devw0rp@gmail.com>2017-10-12 23:04:54 +0100
commite71c4a8bea25e6998d4d852677790ad6bd5a7e68 (patch)
tree16f873ea882322768185a3b1a9ca1b3d1f9ee41e /plugin
parentdded246aba9c054e4b91748cd4269c6cda2a03df (diff)
downloadale-e71c4a8bea25e6998d4d852677790ad6bd5a7e68.zip
#965 - Support limiting the number of signs ALE will set
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 a9ab88a1..2f188d2d 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -118,6 +118,9 @@ call ale#Set('list_window_size', 10)
" This flag can be set to 0 to disable setting signs.
" This is enabled by default only if the 'signs' feature exists.
let g:ale_set_signs = get(g:, 'ale_set_signs', has('signs'))
+" This flag can be set to some integer to control the maximum number of signs
+" that ALE will set.
+let g:ale_max_signs = get(g:, 'ale_max_signs', -1)
" This flag can be set to 1 to enable changing the sign column colors when
" there are errors.