unix-config/.config/nvim
2025-01-23 12:36:28 +11:00
..
lua/pfych NVim handle lightmode 2025-01-08 16:54:38 +11:00
plugin Fix issues with new Arch install 2025-01-23 12:36:28 +11:00
init.lua Attempted to tidy nvim configuration 2024-08-17 09:39:09 +10:00
README.md Added nvim explainer 2024-08-17 09:40:38 +10:00

Neovim Configuration

Running neovim with packer for plugins and lsp stuff.

init.lua is the entry point for neovim.
plugin/*.lua run on startup.

Plugins & LSP

:PackerInstall
:PackerUpdate
:Mason -> U # Update all LSP servers

Mason should auto-install LSP servers. However, the following is what should be installed:

  • prettier
  • lua-language-server
  • luaformatter
  • eslint_d
  • typescript-language-server
  • stylelint-lsp

prettierd and eslintd will need to be installed manually via pnpm as a global package.

Custom key binds

  • <space>f to toggle NerdTREE
  • ? to view code action items
  • > to go to next diagnostic
  • < to go to previous diagnostic