Only load snippet files when you need to.
This commit is contained in:
parent
f8a07ae8e3
commit
da1ff4087b
@ -728,7 +728,6 @@ class SnippetManager(object):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
self._filetypes[_vim.buf.number].insert(idx + 1, ft)
|
self._filetypes[_vim.buf.number].insert(idx + 1, ft)
|
||||||
idx += 1
|
idx += 1
|
||||||
self._ensure_all_loaded()
|
|
||||||
|
|
||||||
def _find_snippets(self, ft, trigger, potentially=False, seen=None):
|
def _find_snippets(self, ft, trigger, potentially=False, seen=None):
|
||||||
"""Find snippets matching trigger
|
"""Find snippets matching trigger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user