My personal NixOS configuration
Find a file
2022-11-30 14:46:27 +00:00
external Add efm-langserver and tree-sitter binaries 2022-11-07 15:19:36 +00:00
fonts Reorganise fonts, add NerdFont symbols only for kitty 2022-09-27 10:00:10 +01:00
lua Add additional backends for aerial, enable global mode 2022-11-30 14:46:27 +00:00
true_colour_tests Add checks for true colour support in terminal (visual only) 2021-02-22 09:05:59 +00:00
.gitignore Add plugin directory to gitignore for packer 2022-11-29 08:52:36 +00:00
init.lua Fix version of nightfox for nvim<=0.7 2022-11-28 13:25:36 +00:00
install.sh Remove sections on linking, replace with direct install instructions 2022-11-29 08:58:34 +00:00
README.md Remove sections on linking, replace with direct install instructions 2022-11-29 08:58:34 +00:00
tmux.conf Add kitty to tmux config 2022-08-24 14:48:58 +01:00

Vim config

Personal configuration and plugins for Vim

Installing neovim AppImage

curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
mv nvim.appimage "$HOME/bin/."
ln -s "$HOME/bin/nvim.appimage" "$HOME/bin/nvim"  # Optional to avoid extension in commands
# ./nvim.appimage

Installing configuration

git clone git@github.com:elitherl/vim-config.git $XDG_CONFIG_HOME/nvim
# or using symlink
git clone git@github.com:elitherl/vim-config.git /path/to/directory
ln -s /path/to/directory $XDG_CONFIG_HOME/nvim

Installing Packer plugin manager

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 $HOME/.local/share/nvim/site/pack/packer/start/packer.nvim

Plugin definitions are in plugins.lua, inside vim run :PackerSync to install plugins

Enabling python support

pyenv virtualenv neovim3  # Assumes working pyenv
pyenv activate neovim3
pip install -U pip setuptools wheel
pip install -U pynvim pyright fortl  # If pyright not available, fallback to: "python-lsp-server[all]" pylsp-mypy
pyenv deactivate

From vim documentation

Add LUA language server

Follow instructions from sumneko/lua-language-server GitHub.