mitsuse / autocomplete-swift

Autocompletion for Swift in NeoVim with deoplete.
MIT License
96 stars 5 forks source link

How to setup and use properly #13

Closed ladislas closed 5 years ago

ladislas commented 6 years ago

I'm having the exact same issue as #10.

I did all the install steps listed in the README and I'm using the latest version of Neovim with Python plugins installed.

The plugin doesn't seem to be 'running' as calling echo g:autocomplete_swift#toolchain or any other command results in an error message.

ladislas commented 6 years ago

Alright! So running :UpdateRemotePlugins seems to fix it!

I now have completion.

The only issue is that it's super slow and not showing everything as in your gif demo...

ladislas commented 6 years ago

Aaaaaand it's gone again...

:(

krzysztof-magosa commented 5 years ago

I use such config and it works for me.

Plugin 'apple/swift', {'rtp': 'utils/vim/'}
Plugin 'Shougo/deoplete.nvim'
Plugin 'mitsuse/autocomplete-swift'

let g:deoplete#sources#swift#daemon_autostart = 1
let g:deoplete#enable_at_startup = 1
mitsuse commented 5 years ago

@krzysztof-magosa Thanks for your comment!