juliosueiras / vim-terraform-completion

A (Neo)Vim Autocompletion and linter for Terraform, a HashiCorp tool
MIT License
336 stars 24 forks source link

Triggering omnicomplete with deoplete fails #54

Open joelchrist opened 5 years ago

joelchrist commented 5 years ago

It gives error Unknow function terraformcomplete#Complete

CrowderSoup commented 5 years ago

I was getting this error as well, but after checking the docs and running :checkhealth I realized that I needed to do the following:

  1. Add NeoMake
  2. Install ruby support for neovim by running gem install neovim
  3. Reinstall python3 support for neovim:
    • pip3 uninstall pynvim neovim
    • pip3 install neovim
    • pip3 install pynvim

Once I did that it started working for me!

ArturZurawski commented 5 years ago

Same error here

Error detected while processing function terraformcomplete#Complete:
line   11:
E461: Illegal variable name: a:res

I'm using vim8 from brew. Using mucomplete, but tried deoplete with same result.

z0rc commented 5 years ago

Same error here

Error detected while processing function terraformcomplete#Complete:
line   11:
E461: Illegal variable name: a:res

I'm using vim8 from brew. Using mucomplete, but tried deoplete with same result.

Seems this was fixed with https://github.com/juliosueiras/vim-terraform-completion/commit/23b2ec9a1cc1eb8df4f9a6096f73022e251acc88