0

I am running Vim 7.4 and installed below plugins

Plug 'pearofducks/ansible-vim'
Plug 'phenomenes/ansible-snippets'
Plug 'honza/vim-snippets'

But still i am unable to see snippets when typing tab?

What else is required to enable auto completion of ansible like vscode

Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
  • Are those *all* the plugins you have installed? You need a snippet expansion plugin to make those snippets work (and, at minimum, *read* the `README.md` of the things you install). – romainl Oct 22 '20 at 05:22
  • To make snippets work you have to install SnipMate or UltiSnips plugin. First is pure vimscript, second requires python support on vim. I recommend you to use UltiSnips if possible - its more powerful and good supported by YouCompleteMe plugin, they work really nice together. – Dmitry Oct 22 '20 at 18:16
  • @Dmitry I tried with Utilsnips but once that is installed tab key was not working . So i tried with SnipMate it works now – Samselvaprabu Oct 24 '20 at 06:39
  • @Samselvaprabu. If you satisfied with SnipMate, its ok, enjoy it. I use it too when there is no python support in OS. Configuring Ultisnips is a bit confusing, especially when you also got YCM installed, since they both use Tab by default. But if you show your list of installed plugins and `.vimrc` we can try to help you configure it. – Dmitry Oct 24 '20 at 19:17

0 Answers0