diff --git a/autoload/UltiSnips.vim b/autoload/UltiSnips.vim index 16f6903..aa7b886 100644 --- a/autoload/UltiSnips.vim +++ b/autoload/UltiSnips.vim @@ -13,11 +13,6 @@ endif function! UltiSnips_FileTypeChanged() endfunction -" Kludge to make sure that if the python module is loaded first, all of this -" initialization in this file is indeed done. -function! UltiSnips#WasRun() -endfunction - if !exists("g:UltiSnipsUsePythonVersion") let g:_uspy=":py3 " if !has("python3") diff --git a/pythonx/UltiSnips/__init__.py b/pythonx/UltiSnips/__init__.py index 7818a03..9566f08 100644 --- a/pythonx/UltiSnips/__init__.py +++ b/pythonx/UltiSnips/__init__.py @@ -7,8 +7,6 @@ import vim # pylint:disable=import-error from UltiSnips.snippet_manager import SnippetManager -vim.command("call UltiSnips#WasRun()") - UltiSnips_Manager = SnippetManager( # pylint:disable=invalid-name vim.eval('g:UltiSnipsExpandTrigger'), vim.eval('g:UltiSnipsJumpForwardTrigger'),