From c45867be5830f375bda9bcbccca4ecc1a713a084 Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Thu, 13 Aug 2015 12:43:30 +0600 Subject: [PATCH] add missing doc for autotrigger_only --- pythonx/UltiSnips/snippet/source/_snippet_dictionary.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pythonx/UltiSnips/snippet/source/_snippet_dictionary.py b/pythonx/UltiSnips/snippet/source/_snippet_dictionary.py index e334ac6..c0bb606 100644 --- a/pythonx/UltiSnips/snippet/source/_snippet_dictionary.py +++ b/pythonx/UltiSnips/snippet/source/_snippet_dictionary.py @@ -21,6 +21,13 @@ class SnippetDictionary(object): If 'potentially' is true, returns all that could_match(). + If 'autotrigger_only' is true, function will return only snippets which + are marked with flag 'A' (should be automatically expanded without + trigger key press). + It's handled specially to avoid walking down the list of all snippets, + which can be very slow, because function will be called on each change + made in insert mode. + """ all_snippets = self._snippets if autotrigger_only: