ultisnips icon indicating copy to clipboard operation
ultisnips copied to clipboard

Feature request: snippet file information in Ultisnips#SnippetsInCurrentScope

Open stellarhoof opened this issue 6 years ago • 2 comments

The other choice is Ultisnips#ListSnippets(), which is not script friendly, since it prints to console and I'd have to parse the output.

If it's decided we don't want the extra information, perhaps a flag can be passed to include the file?

stellarhoof avatar May 09 '18 14:05 stellarhoof

/cc @chemzqm who mentioned a similar problem in https://github.com/SirVer/ultisnips/issues/869#issuecomment-388597206 and has a work around that works, but is a breaking change.

I think passing the extra information is a good change, but it needs to happen in a non-backwards incompatible manner, i.e. a new method. @stellarhoof Are you interested in sending a PR?

SirVer avatar May 23 '18 18:05 SirVer

@SirVer I'm short on time these days. If I decide to take a look I'll let you know so other contributors are aware.

stellarhoof avatar May 23 '18 21:05 stellarhoof