Set the g:ale_completion_enabled option when completion is enabled or disabled

This commit is contained in:
w0rp 2017-07-24 09:22:29 +01:00
parent d1424de1f9
commit b4d23d700b

View File

@ -321,9 +321,11 @@ function! s:Setup(enabled) abort
endfunction endfunction
function! ale#completion#Enable() abort function! ale#completion#Enable() abort
let g:ale_completion_enabled = 1
call s:Setup(1) call s:Setup(1)
endfunction endfunction
function! ale#completion#Disable() abort function! ale#completion#Disable() abort
let g:ale_completion_enabled = 0
call s:Setup(0) call s:Setup(0)
endfunction endfunction