Load black only if Python3 is available

This commit is contained in:
Corrado Primier 2020-02-26 13:47:35 +00:00
parent cae26c90cc
commit 491a93388c
4 changed files with 7 additions and 2 deletions

2
.gitmodules vendored
View File

@ -2,7 +2,7 @@
path = .vim/pack/bardo/start/Indent-Guides
url = https://github.com/vim-scripts/Indent-Guides.git
[submodule ".vim/pack/bardo/start/black"]
path = .vim/pack/bardo/start/black
path = .vim/pack/bardo/opt/black
url = https://github.com/ambv/black.git
[submodule ".vim/pack/bardo/start/vim-trailing-whitespace"]
path = .vim/pack/bardo/start/vim-trailing-whitespace

@ -0,0 +1 @@
Subproject commit ce14fa8b497bae2b50ec48b3bd7022573a59cdb1

@ -1 +0,0 @@
Subproject commit fe24a15b84955130f23c8ab9490d1cdb98607b53

5
.vimrc
View File

@ -164,3 +164,8 @@ endif
" base16 color theme
let base16colorspace=256
colorscheme base16-solarized-dark
" Python-black
if has("python3")
packadd black
endif