From 2e7e61edae145e383b0a9cd786d8710b29450637 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Sat, 15 Feb 2014 10:48:46 +0100 Subject: [PATCH] Some typos and a todo. --- pythonx/UltiSnips/providers/snippet_file.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pythonx/UltiSnips/providers/snippet_file.py b/pythonx/UltiSnips/providers/snippet_file.py index e53eb36..2a52609 100755 --- a/pythonx/UltiSnips/providers/snippet_file.py +++ b/pythonx/UltiSnips/providers/snippet_file.py @@ -96,7 +96,7 @@ class SnippetSyntaxError(RuntimeError): msg, filename, line_index)) class UltiSnipsFileProvider(SnippetProvider): - """Manages all snippets definitons found in rtp.""" + """Manages all snippets definitions found in rtp.""" def get_snippets(self, filetypes, before, possible): for ft in filetypes: @@ -157,6 +157,8 @@ class UltiSnipsFileProvider(SnippetProvider): _vim.escape(filename)) raise SnippetSyntaxError(filename, line_index, msg) elif event == "clearsnippets": + # TODO(sirver): clear snippets should clear for + # more providers, not only ultisnips files. triggers, = data self._snippets[ft].clear_snippets(triggers) elif event == "extends":