Allow code actions to work on callback based sources

This commit is contained in:
Donnie West committed 2019-10-17 23:22:31 -05:00
1 parent dfe9b7cc26
commit b27df1b169
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -722,7 +722,7 @@ endfunction
function! ale#completion#HandleUserData(completed_item) abort
let l:source = get(get(b:, 'ale_completion_info', {}), 'source', '')
if l:source isnot# 'ale-automatic' && l:source isnot# 'ale-manual'
if l:source isnot# 'ale-automatic' && l:source isnot# 'ale-manual' && l:source isnot# 'ale-callback'
return
endif