'Load all snippets for the given \'ft\'.'

def _load_snippets_for(self, ft):

    if (ft in self._snippets):
        del self._snippets[ft]
        del self._extends[ft]
    try:
        for fn in self._files_for_ft[ft]:
            self._parse_snippets(ft, fn)
    except:
        del self._files_for_ft[ft]
        raise
    for parent_ft in self.get_deep_extends([ft]):
        if ((parent_ft != ft) and self._needs_update(parent_ft)):
            self._load_snippets_for(parent_ft)
