dotfiles/.vim/pack/plugins/start/vim-autotag/autoload/autotag.vim

17 lines
338 B
VimL

if ! has("python3")
finish
endif
python3 import sys, os, vim
python3 sys.path.insert(0, os.path.dirname(vim.eval('expand("<sfile>")')))
python3 import autotag
function! autotag#Run()
if exists("b:netrw_method")
return
endif
python3 autotag.autotag()
if exists(":TlistUpdate")
TlistUpdate
endif
endfunction