ultisnips
ultisnips copied to clipboard
Feature request: snippet file information in Ultisnips#SnippetsInCurrentScope
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?
/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 I'm short on time these days. If I decide to take a look I'll let you know so other contributors are aware.