maralla/completor.vim

Integrate ALE completion

ljmc-github opened this issue · 2 comments

ALE now offers completion that is integrated with Deoplete and asyncomplete.vim.

I tried asyncomplete.vim but quickly ran into the into the issue asyncomplete.vim#195

Would it be possible to integrate ALE as a completion source ?

I know completor.vim has LSP support, but running two LSP instances is quite wasteful.

The PR #292 resolved the issue.

To use ALE as the completion source add the following config to your vimrc:

let g:completor_filetype_map = {}

" For example make javascript complete using ALE:
let g:completor_filetype_map.javascript = {'ft': 'ale'}

Confirming that I can use ALE as a completion source.