install python modules. install plugins.
This commit is contained in:
parent
a4ac428955
commit
d3d38a32b5
|
@ -8,12 +8,13 @@ if ! command -v yarn ; then
|
|||
fi
|
||||
|
||||
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
|
||||
git clone https://github.com/neovim/neovim
|
||||
cd neovim
|
||||
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
|
||||
else
|
||||
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 --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'
|
||||
|
|
Reference in New Issue