diff options
Diffstat (limited to '.vim/pack/plugins/start/vim-autotag/autoload/autotag.vim')
-rw-r--r-- | .vim/pack/plugins/start/vim-autotag/autoload/autotag.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.vim/pack/plugins/start/vim-autotag/autoload/autotag.vim b/.vim/pack/plugins/start/vim-autotag/autoload/autotag.vim new file mode 100644 index 0000000..31f5c39 --- /dev/null +++ b/.vim/pack/plugins/start/vim-autotag/autoload/autotag.vim @@ -0,0 +1,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 |