maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

Integrate ALE completion #290

Closed ljmc-github closed 3 years ago

ljmc-github commented 4 years ago

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.

maralla commented 3 years ago

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'}
polyzen commented 3 years ago

Confirming that I can use ALE as a completion source.