git clone https://github.com/strptrk/nvim-cfg.git ~/.config/nvim
nvim --headless "+Lazy! sync" +qa
nvim --headless "+Lazy! load nvim-treesitter" # to install parsers
sudo pacman -S clang
sudo pacman -S lua-language-server
sudo pacman -S python-lsp-server yapf python-whatthepatch flake8 \
python-pylint python-pyflakes autopep8 \
python-pydocstyle python-pycodestyle
sudo pacman -S gopls
sudo pacman -S texlab
# or
cargo install texlab
sudo pacman -S python-pipx
pipx install cmake-language-server
mkdir -p ~/.clones/virtualenvs
cd ~/.clones/virtualenvs
python -m venv debugpy
debugpy/bin/python -m pip install debugpy
sudo pacman -S lldb
# {aur helper} -S codelldb, such as
paru -S codelldb
OR
mkdir -p ~/.clones/vscode-lldb ~/.local/bin
cd ~/.clones/vscode-lldb
curl -LO $(curl -s https://api.github.com/repositories/49407251/releases | \
jq '.[0].assets[] | select(.name == "codelldb-x86_64-linux.vsix").browser_download_url' -r)
unzip codelldb-x86_64-linux.vsix
ln -s $PWD/extension/adapter/codelldb ~/.local/bin
mkdir -p ~/.clones/cpptools ~/.local/bin
cd ~/.clones/cpptools
curl -LO $(curl -s https://api.github.com/repos/microsoft/vscode-cpptools/releases | \
jq -r '[.[].assets[] | select(.name == "cpptools-linux-x64.vsix").browser_download_url][0]')
unzip cpptools-linux-x64.vsix
chmod +x extension/debugAdapters/bin/OpenDebugAD7
ln -s $PWD/extension/debugAdapters/bin/OpenDebugAD7 ~/.local/bin