-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: add support for custom context snippets (#72)
Any custom context in a snippet definition is now respected; that means the snippet is only expanded in the correct context (see `:h UltiSnips-custom-context-snippets`). Note: this commit also changed the behaviour of `show_snippets="all"`. Previously "all" also showed regular expression snippets. `show_snippets="all"` now only shows snippets where caching makes sense (which is not the case for custom regular expression and custom context snippets). To avoid confusion, this option will probably be renamed to `snow_snippets = "cached"` in the future.
- Loading branch information
Showing
3 changed files
with
36 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters