This repository has been archived on 2024-06-08. You can view files and clone it, but cannot push or open issues or pull requests.
vimrc/vim/conf/load.vim

18 lines
334 B
VimL
Raw Normal View History

2020-02-23 14:09:42 +00:00
function! LoadPlugs()
call GitExits()
if exists("g:git_exits")
if g:git_exits == "True"
call plug#load("nerdtree-git-plugin")
endfunction
function! GitExits()
python3 << EOF
import vim
import ./script/vim_utils.py as utils
exits = utils.git_exits()
vim.command("set g:git_exits=%s" % exits)
EOF
endfunction