-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·39 lines (25 loc) · 984 Bytes
/
setup.sh
File metadata and controls
executable file
·39 lines (25 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
set -e
sudo apt-get update
sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip zsh fonts-powerline python3-pip python2 exuberant-ctags clangd-12 -y
sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-12 100
sudo apt-get remove vim --autoremove -y
sudo python3 -m pip install python-lsp-server pylint flake8 mypy pyls-isort \
pyls-memestra
sudo python3 -m pip uninstall tomli
sudo python3 -m pip install 'tomli<2.0.0,>=0.2.6'
sudo python3 -m pip install python-lsp-black
chsh -s /usr/bin/zsh
mkdir -p ~/Downloads
cd ~/Downloads
NODE_VERSION='v16.13.2'
wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.xz
tar -xf node-${NODE_VERSION}-linux-x64.tar.xz
sudo cp -r node-${NODE_VERSION}-linux-x64/* /usr/
rm -rf node*
git clone https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
cd .. && rm -rf neovim
nvim --version