From b4d23d700bb71a192b48671e6a0428312b46a74b Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 24 Jul 2017 09:22:29 +0100 Subject: [PATCH] Set the g:ale_completion_enabled option when completion is enabled or disabled --- autoload/ale/completion.vim | 2 ++ 1 file changed, 2 insertions(+) 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