diff --git a/pythonx/UltiSnips/snippet_manager.py b/pythonx/UltiSnips/snippet_manager.py index f144fbf..f84c48f 100644 --- a/pythonx/UltiSnips/snippet_manager.py +++ b/pythonx/UltiSnips/snippet_manager.py @@ -374,7 +374,7 @@ class SnippetManager(object): 'autocmd CmdwinLeave * call UltiSnips#LeavingBuffer()') _vim.command('augroup END') - _vim.command('silent doautocmd User UltiSnipsEnterFirstSnippet') + _vim.command('silent doautocmd User UltiSnipsEnterFirstSnippet') self._inner_state_up = True def _teardown_inner_state(self): @@ -382,7 +382,7 @@ class SnippetManager(object): if not self._inner_state_up: return try: - _vim.command('silent doautocmd User UltiSnipsExitLastSnippet') + _vim.command('silent doautocmd User UltiSnipsExitLastSnippet') if self.expand_trigger != self.forward_trigger: _vim.command('iunmap %s' % self.forward_trigger) _vim.command('sunmap %s' % self.forward_trigger)