hrsh7th / vim-vsnip

Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nvim 0.6: snippets in start packages aren't detected

seandewar opened this issue · comments

There've been changes to how Nvim 0.6 populates &rtp on startup for start packages:
neovim/neovim#14090 (comment)

This means that, for example, simply installing friendly-snippets as a start package no longer works. It'll instead need to be installed as an opt package and packadded so it appears in &rtp for vim-vsnip to detect it (some package managers may do this indirectly).

The recommended approach now is to use nvim_list_runtime_path and nvim_get_runtime_file instead.

Probably related: #219