install python modules. install plugins.

This commit is contained in:
Ray Elliott 2020-03-20 14:17:49 +00:00
parent a4ac428955
commit d3d38a32b5
1 changed files with 8 additions and 2 deletions

View File

@ -8,12 +8,13 @@ if ! command -v yarn ; then
fi fi
if command -v apt-get ; then if command -v apt-get ; then
apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip python-pip python3-pip golang
cd /tmp cd /tmp
git clone https://github.com/neovim/neovim git clone https://github.com/neovim/neovim
cd neovim cd neovim
make CMAKE_BUILD_TYPE=Release make CMAKE_BUILD_TYPE=Release
mv /tmp/neovim/runtime /usr/local/share/nvim mkdir -p /usr/local/share/nvim
mv /tmp/neovim/runtime /usr/local/share/nvim/runtime
mv /tmp/neovim/build/bin/nvim /usr/local/bin/nvim mv /tmp/neovim/build/bin/nvim /usr/local/bin/nvim
else else
echo "Error - no package installer found." echo "Error - no package installer found."
@ -26,3 +27,8 @@ rm -Rf .config/nvim
su ray -c 'git clone https://git.rayelliott.dev/dots/nvim.git .config/nvim' su ray -c 'git clone https://git.rayelliott.dev/dots/nvim.git .config/nvim'
su ray --login -c 'yarn global add neovim' su ray --login -c 'yarn global add neovim'
su ray --login -c 'python2 -m pip install --user --upgrade pynvim'
su ray --login -c 'python3 -m pip install --user --upgrade pynvim'
su ray --login -c 'nvim --headless +PlugInstall +qall'