draivin / hsnips

HyperSnips: a powerful snippet engine for VS Code, inspired by vim's UltiSnips
MIT License
154 stars 25 forks source link

Add opt/flag to hide snip from inline suggestions #173

Closed PapierFliegr closed 1 week ago

PapierFliegr commented 1 year ago

Added the option/flag H to hide specific snippets from inline suggestion. e.g. . won't trigger inline suggestions, when typing ... as trigger for \ldots. Necessarily needs A flag for snippet to expand.

Updated README.rm

Solves issue #171.

PapierFliegr commented 1 year ago

Replaced flag H with a number flag (1-9) Adds the option to hide non-regex snippets to up to 9 characters and only shows the snippet in the dropdown menu, if the the specified number of characters is typed.