From 5af229abc0aab4c16baf314383e8b99a672e5af3 Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Thu, 18 Jun 2015 10:26:52 +0600 Subject: [PATCH] add error handling --- pythonx/UltiSnips/snippet_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonx/UltiSnips/snippet_manager.py b/pythonx/UltiSnips/snippet_manager.py index 04aba08..2313bbd 100644 --- a/pythonx/UltiSnips/snippet_manager.py +++ b/pythonx/UltiSnips/snippet_manager.py @@ -776,6 +776,7 @@ class SnippetManager(object): finally: self._inside_action = old_flag + @err_to_scratch_buffer def _track_change(self): inserted_char = _vim.eval('v:char') if inserted_char == '':