Added mini pluligins and improved Mason.
This commit is contained in:
@@ -74,6 +74,20 @@ Leave terminal mode and return to normal mode:
|
||||
|
||||
## LSP
|
||||
|
||||
Mason is installed through `vim.pack` together with `mason-lspconfig.nvim` and `nvim-lspconfig`.
|
||||
|
||||
This config automatically installs and enables the managed language servers on first start. The current managed set is `bashls`, `clangd`, `jsonls`, `lua_ls`, `marksman`, `taplo`, `ts_ls`, and `yamlls`.
|
||||
|
||||
Useful Mason commands:
|
||||
|
||||
```vim
|
||||
:Mason
|
||||
:MasonLog
|
||||
:checkhealth mason
|
||||
```
|
||||
|
||||
`ts_ls` provides TypeScript and JavaScript language server support after Mason installs `typescript-language-server`.
|
||||
|
||||
When an LSP server is attached to the current buffer:
|
||||
|
||||
- `gd` go to definition
|
||||
|
||||
Reference in New Issue
Block a user