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