garymjr / nvim-snippets

Snippet support using native neovim snippets
MIT License
215 stars 13 forks source link

Cannot nested use snippets #25

Closed Old-Farmer closed 3 months ago

Old-Farmer commented 3 months ago

As title.

For example:

  1. input a snippet, like func (p1(active), p2, p3)
  2. input another snippet in p1, like func( func2(ip1, ip2, ip3), p2, p3)
  3. then p2, p3 cannot be jumped to any more.

Is this a bug for this plugin, or it hasn't been supportted by neovim?

Thanks.

garymjr commented 3 months ago

I don't handle any of the actual jumping in this plugin, all of that is handled by vim.snippet. This should be raised to neovim core directly

Old-Farmer commented 3 months ago

I don't handle any of the actual jumping in this plugin, all of that is handled by vim.snippet. This should be raised to neovim core directly

Got it. Thanks for your reply.