Adding new stuff

This commit is contained in:
ViktorBarzin 2017-12-10 00:00:02 +00:00
parent 7b21428a6d
commit 1af5220491
449 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1,17 @@
" Support virtualenv
"
PymodePython from pymode.virtualenv import enable_virtualenv
fun! pymode#virtualenv#init() "{{{
if !g:pymode_virtualenv || g:pymode_virtualenv_path == ""
return
endif
PymodePython enable_virtualenv()
endfunction "}}}
fun! pymode#virtualenv#activate(path) "{{{
let g:pymode_virtualenv_path = a:path
call pymode#virtualenv#init()
endfunction "}}}