Small bug fix.
This commit is contained in:
parent
72beeb28f4
commit
f6b197e18e
@ -653,6 +653,7 @@ class SnippetManager(object):
|
|||||||
|
|
||||||
def _load_snippets_for(self, ft):
|
def _load_snippets_for(self, ft):
|
||||||
"""Load all snippets for the given 'ft'."""
|
"""Load all snippets for the given 'ft'."""
|
||||||
|
if ft in self._snippets:
|
||||||
del self._snippets[ft]
|
del self._snippets[ft]
|
||||||
for fn in _base_snippet_files_for(ft):
|
for fn in _base_snippet_files_for(ft):
|
||||||
self._parse_snippets(ft, fn)
|
self._parse_snippets(ft, fn)
|
||||||
|
Loading…
Reference in New Issue
Block a user