From da1ff4087bbdccfabde0f29964653ae6b76eb6fd Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Mon, 10 Feb 2014 09:02:31 +0100 Subject: [PATCH] Only load snippet files when you need to. --- pythonx/UltiSnips/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pythonx/UltiSnips/__init__.py b/pythonx/UltiSnips/__init__.py index 5530abf..50bbea4 100755 --- a/pythonx/UltiSnips/__init__.py +++ b/pythonx/UltiSnips/__init__.py @@ -728,7 +728,6 @@ class SnippetManager(object): except ValueError: self._filetypes[_vim.buf.number].insert(idx + 1, ft) idx += 1 - self._ensure_all_loaded() def _find_snippets(self, ft, trigger, potentially=False, seen=None): """Find snippets matching trigger