Neovim

Astronvim

Explored astronvim, a configuration framework for neovim. Astronvim is heavily based on modern plugins written in Lua over Vimscript. Astronvim uses similar keybinds as Doom Emacs and Spacemacs (at least with the space leader key). Configuration is fairly straight forward.

LuaSnip

This tutorial is a good introduction to getting started writing snippets. Node reference

Setting up treesitter

Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Code Snippet 1: init.vim
brew install tree-sitter

For python

:PlugInstall
:TSInstall python

Setting up LSP

For python with pyright

Plug 'neovim/nvim-lspconfig'

lua <<EOF
    require'lspconfig'.pyright.setup{}
EOF
Code Snippet 2: init.vim
npm install -g pyright

Links to this note