Closed adouglas1-godaddy closed 10 months ago
I get the same issue, this project seems dead. I am going to try to port ultisnips to nodejs and coc.
I really don't want to add python to vim.
The deprecate error is easy to solve. Follow the docs: add let g:snipMate.snippet_version = 0
to your .vimrc.
I will agree the snippets_dir is confusing. But solvable: as https://github.com/garbas/vim-snipmate/issues/198#issuecomment-84461219 says, try to just add let g:snipMate.snippet_dirs = split(&rtp, ',')
and see if it works.
This project indeed seems "dead" but I use it in a daily basis since I really like the snippets syntax.
@adouglas1-godaddy On the one hand, msdos is possibly correct that setting snippet_version
might fix all your problems (though I'm of course going to advocate for setting it to 1
not 0
). There is more information on the versions in the FAQ on the repo's README.
On the other hand, the errors you're experiencing...aren't possible with this repository? In particular, snippets_dir
does not exist anywhere in the code. There are a few instances of snippet_dirs
, but that code is incapable of producing the errors you're experiencing.
Can you please ensure that you are using this repository's SnipMate? We can continue troubleshooting once we know you're using the correct repository.
I think the snippet_version
issue was the source of problems here, as well as a potential incorrect version of SnipMate. If that's not the case, please reopen and we'll figure it out.
Installed with Vundle exactly as per the readme:
Installation succeeds, then running vim says:
Then the same errors again when opening a file: