My NeoVim Config BTW
Started with the ThePrimagean 0 to LSP : Neovim RC From Scratch https://youtu.be/w7i4amO_zaE?si=wWY2f9ex3UQctutr
Added some Lazy instead of PAC
And added LSP support using updated resource: https://lsp-zero.netlify.app/v3.x/blog/theprimeagens-config-from-2022.html
Look at enabling inlay hints for LSPs https://www.youtube.com/watch?v=DYaTzkw3zqQ&ab_channel=ElijahManor
- Pending to enable at buffer open (currently they enable when entering INSERT mode)
Run:
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
rm -rf ~/.cache/nvim
rm -rf ~/.config/nvim
git clone https://github.com/marco-caamano/nvim-config.git ~/.config/nvim
Some commands/tips to remember, while muscle memory kicks in
| Command | Description |
|---|---|
| :so | Source lua file in current buffer / no need to exit-reload to apply changes |
- peek markdown depends on https://github.com/wslutilities/wslu wslview for triggering browser in WSL