mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-10 21:16:32 +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
|
# vim
|
||||||
balias mviml='env VIM_COLOR=github mvim'
|
balias mviml='env VIM_COLOR=github mvim'
|
||||||
balias gvim='mvim'
|
|
||||||
|
|
||||||
# yelp
|
# yelp
|
||||||
balias moshdev='mosh dev7-devc'
|
balias moshdev='mosh dev7-devc'
|
||||||
|
@ -12,9 +12,16 @@ case "$PACKAGE_MANAGER" in
|
|||||||
;;
|
;;
|
||||||
"apt-get")
|
"apt-get")
|
||||||
sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build'
|
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
|
esac
|
||||||
|
|
||||||
|
sudo pip install neovim
|
||||||
|
if command_exist pip3 ; then
|
||||||
|
sudo pip3 install neovim
|
||||||
|
fi
|
||||||
|
|
||||||
neovim_dir=$WORKSPACE/neovim
|
neovim_dir=$WORKSPACE/neovim
|
||||||
|
|
||||||
if [ ! -d $neovim_dir ]; then
|
if [ ! -d $neovim_dir ]; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
sudo_package_update
|
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
|
# Manager specific packages
|
||||||
case "$PACKAGE_MANAGER" in
|
case "$PACKAGE_MANAGER" in
|
||||||
@ -13,13 +13,13 @@ case "$PACKAGE_MANAGER" in
|
|||||||
;;
|
;;
|
||||||
"brew")
|
"brew")
|
||||||
package 'vim'
|
package 'vim'
|
||||||
sudo_package 'the_silver_searcher'
|
package 'the_silver_searcher'
|
||||||
;;
|
;;
|
||||||
"apt-get")
|
"apt-get")
|
||||||
if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then
|
if [ -n "$(apt-cache policy silversearcher-ag)" ] ; then
|
||||||
sudo_package 'silversearcher-ag'
|
sudo_package 'silversearcher-ag'
|
||||||
fi
|
fi
|
||||||
sudo_package 'build-essential bash-completion tmux vim'
|
sudo_package 'build-essential bash-completion vim'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -27,3 +27,5 @@ esac
|
|||||||
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2
|
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2
|
||||||
sudo gem install rake
|
sudo gem install rake
|
||||||
|
|
||||||
|
# install python packages
|
||||||
|
sudo pip install ipython flake8
|
||||||
|
Loading…
Reference in New Issue
Block a user