From d16bdc782efef6afccae88449a9a0e8d5402c1be Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Tue, 26 Dec 2017 16:26:10 -0700 Subject: [PATCH] Add support for Python --- home/.vimrc | 2 ++ install.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/home/.vimrc b/home/.vimrc index cb8b93e..46b041a 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -15,9 +15,11 @@ Plug 'w0rp/ale' " Language Support Plugins Plug 'HerringtonDarkholme/yats.vim' " typescript +Plug 'davidhalter/jedi-vim' " python autocomplete Plug 'digitaltoad/vim-pug' " pug Plug 'elzr/vim-json' " json Plug 'gisraptor/vim-lilypond-integrator' " lilypond +Plug 'google/yapf' " python Plug 'isRuslan/vim-es6' " javascript Plug 'kchmck/vim-coffee-script' " coffeescript Plug 'plasticboy/vim-markdown' " markdown diff --git a/install.sh b/install.sh index 387ea38..3d0d5be 100755 --- a/install.sh +++ b/install.sh @@ -55,6 +55,10 @@ which -s tslint || npm install -g tslint which -s ts-node || npm install -g ts-node which -s tsserver || npm install -g typescript +echo "Installing standard Python packages..." +which -s pylint || pip install pylint +pip list --format=legacy | grep jedi >/dev/null || pip install jedi + echo "Installing vi plugins..." vim +PlugClean +PlugInstall +qall