From 164c711b3da5a51a2323a3bd613df251ce455ca5 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 25 Mar 2018 12:57:08 +0100 Subject: Fix #1404 - Do not show balloons when g:ale_set_balloons is 0. Add b:ale_set_balloons --- doc/ale.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/ale.txt') diff --git a/doc/ale.txt b/doc/ale.txt index d3fc576c..47a7d33b 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1291,13 +1291,19 @@ g:ale_pattern_options_enabled *g:ale_pattern_options_enabled* g:ale_set_balloons *g:ale_set_balloons* + *b:ale_set_balloons* Type: |Number| Default: `has('balloon_eval')` When this option is set to `1`, balloon messages will be displayed for problems. Problems nearest to the cursor on the line the cursor is over will - be displayed. + be displayed. Balloons will not be shown when either |g:ale_enabled| is `0` + or |b:ale_enabled| is `0`. + + `b:ale_set_balloons` can be set to `0` to disable balloons for a buffer. + Balloons cannot be enabled for a specific buffer when not initially enabled + globally. g:ale_set_highlights *g:ale_set_highlights* -- cgit v1.2.3