30 lines
626 B
Markdown
30 lines
626 B
Markdown
# 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
|