summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-11-21 20:16:32 +0000
committerw0rp <devw0rp@gmail.com>2020-11-21 20:16:32 +0000
commit2e91f0e689362e33ae3172ddf8153c7a7631cdcf (patch)
treed5598245b6d0b165d9be6196f4319f6d08ebd789 /plugin
parenta139599d3938b2f4fa5c8a97d3280b5f4f859321 (diff)
downloadale-2e91f0e689362e33ae3172ddf8153c7a7631cdcf.zip
Use has('gui_running') instead of has('gui')
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index b1abb10a..5b7be116 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -159,7 +159,7 @@ let g:ale_python_auto_pipenv = get(g:, 'ale_python_auto_pipenv', 0)
let g:ale_go_go111module = get(g:, 'ale_go_go111module', '')
" If 1, enable a popup menu for commands.
-let g:ale_popup_menu_enabled = get(g:, 'ale_popup_menu_enabled', has('gui'))
+let g:ale_popup_menu_enabled = get(g:, 'ale_popup_menu_enabled', has('gui_running'))
if g:ale_set_balloons is 1 || g:ale_set_balloons is# 'hover'
call ale#balloon#Enable()