1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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