Remove no longer needed loading of vim script from python.
This commit is contained in:
parent
ba772b0d14
commit
a949fc606e
@ -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")
|
||||
|
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user