vim-terraform-completion
vim-terraform-completion copied to clipboard
Vim 8: Unknown function: terraformcomplete#Complete
I have problem similar to #49 and #50, but those cases were about Neovim. I'm trying to have this completion working in standard vim (8.2.319, running on macOS 10.15.3). I've copied 'minimal configuration' from readme (and deleted all Syntastic stuff, as I'm using Ale). Should I do anything more?
same issue for me
I fixed this by fixing my ruby (of all things)! Try running a sudo gem install neovim and reload your terminal. See if that makes completion work.
I don't want to use Neovim.
I'm facing same issue. Any clues?
Googled it and here's what's the fix (I'm on Ubuntu):
> vim --version | fgrep ruby
+cursorshape -lua -ruby +wildmenu
> sudo apt install vim-nox
[…]
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/ex (ex) in auto mode
> vim --version|fgrep ruby
+cscope +localmap +ruby +wildmenu
[…]
So Vim with Ruby support is the thing.
I have the following:
vim --version | fgrep ruby
+cursorshape -lua +ruby/dyn +wildmenu
ruby -v
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin20]
And face the same issue.