diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-05-15 13:16:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-15 13:16:33 +0100 |
commit | c23acb00e27f14ba9c65a16a636e222e1ef082ff (patch) | |
tree | 4dee5949a6d399407c068580ecd79d80edb2f535 /plugin | |
parent | 4a76cb0dd5a9056a9616413ac59c16705788bb0e (diff) | |
parent | 168569b8b0af67f7d8268ab9cc6a65a2d6ceedba (diff) | |
download | ale-c23acb00e27f14ba9c65a16a636e222e1ef082ff.zip |
Merge pull request #1565 from rhysd/improve-balloon-support-detection
Improve g:ale_set_balloons default value
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index d59ffd6b..a49bf68c 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -174,7 +174,10 @@ let g:ale_echo_cursor = get(g:, 'ale_echo_cursor', 1) let g:ale_echo_delay = get(g:, 'ale_echo_delay', 10) " This flag can be set to 0 to disable balloon support. -call ale#Set('set_balloons', has('balloon_eval')) +call ale#Set('set_balloons', +\ has('balloon_eval') && has('gui_running') || +\ has('balloon_eval_term') && !has('gui_running') +\) " A deprecated setting for ale#statusline#Status() " See :help ale#statusline#Count() for getting status reports. |