summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-20 16:10:25 +0100
committerw0rp <devw0rp@gmail.com>2018-07-20 16:10:25 +0100
commit0d37aaac7a6f2a6291d7db1032fe08196164fc73 (patch)
tree5ee368213dfa866d43a28adc3d2e93f14b7ae15f /plugin
parent61a5880747128dbf988a076e190ccb346500b5ff (diff)
downloadale-0d37aaac7a6f2a6291d7db1032fe08196164fc73.zip
Fix #1631 - Disable balloon support for terminals by default
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index ad2639bb..f0f90b6b 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -110,10 +110,7 @@ let g:ale_set_highlights = get(g:, 'ale_set_highlights', has('syntax'))
let g:ale_echo_cursor = get(g:, 'ale_echo_cursor', 1)
" This flag can be set to 0 to disable balloon support.
-let g:ale_set_balloons = get(g:, 'ale_set_balloons',
-\ (has('balloon_eval') && has('gui_running'))
-\ || (has('balloon_eval_term') && !has('gui_running'))
-\)
+let g:ale_set_balloons = get(g:, 'ale_set_balloons', has('balloon_eval') && has('gui_running'))
" This flag can be set to 0 to disable warnings for trailing whitespace
let g:ale_warn_about_trailing_whitespace = get(g:, 'ale_warn_about_trailing_whitespace', 1)