Skip to content

strptrk/nvim-cfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim

get started

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

language servers

C/C++ (clang contains clangd)

sudo pacman -S clang

lua

sudo pacman -S lua-language-server

python

sudo pacman -S python-lsp-server yapf python-whatthepatch flake8 \
               python-pylint python-pyflakes autopep8 \
               python-pydocstyle python-pycodestyle

go

sudo pacman -S gopls

latex

sudo pacman -S texlab
# or
cargo install texlab

CMake

sudo pacman -S python-pipx
pipx install cmake-language-server

debugger adapters

python3

mkdir -p ~/.clones/virtualenvs
cd ~/.clones/virtualenvs
python -m venv debugpy
debugpy/bin/python -m pip install debugpy

lldb-vscode

sudo pacman -S lldb

vscode-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

cppdbg

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published