Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add neovim package install script. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions download_nvim.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh

if [ ! -f "/usr/local/bin/nvim" ];then
sudo apt install cmake automake libtool libtool-bin gperf luajit luarocks libuv1-dev libluajit-5.1-dev libunibilium-dev libmsgpack-dev libtermkey-dev libvterm-dev libutf8proc-dev -y
git clone https://github.com/neovim/neovim.git neovim
cd neovim
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
fi
git clone https://github.com/fgheng/vime ~/.config/nvim
git clone https://github.com/srcery-colors/srcery-vim.git
mkdir -p ~/.config/nvim/colors
cp ./srcery-vim/colors/srcery.vim ~/.config/nvim/colors/

if [ ! -f "/usr/bin/node" ];then
##install nodejs
#sudo apt install nodejs -y
sudo apt -y upgrade
sudo apt update
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

sudo apt install nodejs -y
fi

python3 -m pip install --user --upgrade pynvim

python -m pip install --user --upgrade pynvim