Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

asyncomplete plugin #161

Merged
merged 4 commits into from
Apr 8, 2020
Merged

asyncomplete plugin #161

merged 4 commits into from
Apr 8, 2020

Conversation

slashmili
Copy link
Owner

@slashmili slashmili commented Nov 15, 2019

in order to use it, you need to install two other plugins

  • prabirshrestha/async.vim
  • prabirshrestha/asyncomplete.vim
  call minpac#add('prabirshrestha/async.vim')
  call minpac#add('prabirshrestha/asyncomplete.vim')
  call minpac#add('slashmili/alchemist.vim')

  "Optional but recommended 
  call minpac#add('prabirshrestha/asyncomplete-buffer.vim')

...

au User asyncomplete_setup call asyncomplete#register_source({
    \ 'name': 'alchemist',
    \ 'whitelist': ['elixir'],
    \ 'completor': function('asyncomplete#sources#elixir#completor'),
    \ 'config': { },
    \ })

"If you decided to go for prabirshrestha/asyncomplete-buffer.vim, this is an example settting
au User asyncomplete_setup call asyncomplete#register_source({
    \ 'name': 'buffer',
    \ 'whitelist': ['*'],
    \ 'blacklist': ['go'],
    \ 'completor': function('asyncomplete#sources#buffer#completor'),
    \ 'config': {
    \    'max_buffer_size': 5000000,
    \  },
    \ })


@slashmili slashmili changed the title first dirty version of asyncomplete plugin asyncomplete plugin Nov 15, 2019
@slashmili slashmili merged commit 9fc2594 into master Apr 8, 2020
@slashmili slashmili deleted the asyncomplete-support branch April 8, 2020 12:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant