add missing doc for autotrigger_only

This commit is contained in:
Stanislav Seletskiy 2015-08-13 12:43:30 +06:00
parent 9eb2de6c34
commit c45867be58

View File

@ -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: