mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 13:34:46 +08:00
Set the g:ale_completion_enabled option when completion is enabled or disabled
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user