mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 17:16:31 +00:00
Fix python support in nvim for Ubuntu
This commit is contained in:
parent
90f29722b2
commit
618a2b1b83
@ -18,7 +18,6 @@ balias cd..='cd ..'
|
||||
|
||||
# vim
|
||||
balias mviml='env VIM_COLOR=github mvim'
|
||||
balias gvim='mvim'
|
||||
|
||||
# yelp
|
||||
balias moshdev='mosh dev7-devc'
|
||||
|
@ -12,9 +12,16 @@ case "$PACKAGE_MANAGER" in
|
||||
;;
|
||||
"apt-get")
|
||||
sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build'
|
||||
# Ensure python support is in nvim
|
||||
sudo_package 'python-dev python-pip python3-dev python3-pip'
|
||||
;;
|
||||
esac
|
||||
|
||||
sudo pip install neovim
|
||||
if command_exist pip3 ; then
|
||||
sudo pip3 install neovim
|
||||
fi
|
||||
|
||||
neovim_dir=$WORKSPACE/neovim
|
||||
|
||||
if [ ! -d $neovim_dir ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
sudo_package_update
|
||||
sudo_package 'screen htop curl wget mercurial ctags tig pv'
|
||||
sudo_package 'screen tmux htop curl wget mercurial ctags tig pv jq'
|
||||
|
||||
# Manager specific packages
|
||||
case "$PACKAGE_MANAGER" in
|
||||
@ -13,13 +13,13 @@ case "$PACKAGE_MANAGER" in
|
||||
;;
|
||||
"brew")
|
||||
package 'vim'
|
||||
sudo_package 'the_silver_searcher'
|
||||
package 'the_silver_searcher'
|
||||
;;
|
||||
"apt-get")
|
||||
if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then
|
||||
sudo_package 'silversearcher-ag'
|
||||
fi
|
||||
sudo_package 'build-essential bash-completion tmux vim'
|
||||
sudo_package 'build-essential bash-completion vim'
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -27,3 +27,5 @@ esac
|
||||
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2
|
||||
sudo gem install rake
|
||||
|
||||
# install python packages
|
||||
sudo pip install ipython flake8
|
||||
|
Loading…
Reference in New Issue
Block a user