Allow code actions to work on callback based sources

This commit is contained in:
Donnie West
2019-10-17 21:47:07 -05:00
parent dfe9b7cc26
commit b27df1b169
2 changed files with 7 additions and 1 deletions

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