summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-07-24 09:22:29 +0100
committerw0rp <devw0rp@gmail.com>2017-07-24 09:22:29 +0100
commitb4d23d700bb71a192b48671e6a0428312b46a74b (patch)
treedfa7340e8e5ca791590212b47a8912297bbd7125 /autoload
parentd1424de1f979fbe267853c1463a93ff4c5a47c17 (diff)
downloadale-b4d23d700bb71a192b48671e6a0428312b46a74b.zip
Set the g:ale_completion_enabled option when completion is enabled or disabled
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/completion.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim
index 17389a3f..334e2570 100644
--- a/autoload/ale/completion.vim
+++ b/autoload/ale/completion.vim
@@ -321,9 +321,11 @@ function! s:Setup(enabled) abort
endfunction
function! ale#completion#Enable() abort
+ let g:ale_completion_enabled = 1
call s:Setup(1)
endfunction
function! ale#completion#Disable() abort
+ let g:ale_completion_enabled = 0
call s:Setup(0)
endfunction