Attempted to tidy nvim configuration

This commit is contained in:
pfych 2024-08-17 09:38:44 +10:00
parent 92bc844a10
commit b4224d0023
8 changed files with 36 additions and 25 deletions

29
.config/nvim/README.md Normal file
View file

@ -0,0 +1,29 @@
# Neovim Configuration
Running neovim with packer for plugins and lsp stuff.
## Plugins & LSP
```sh
: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