1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 15:19:12 +08:00

docs(lsp): add description for nvim(>=0.5.0)

This commit is contained in:
sisynb 2022-03-19 20:09:47 +08:00 committed by GitHub
parent 4b61488f8c
commit 2c8ebf9c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,14 @@ lsp 模块默认使用 `clangd` 作为 C/C++ 的语言服务器后台命令。
c = ["clangd"]
```
如果使用的是 `nvim(>=0.5.0)`,则需要指定 `enabled_clients` 选项:
```toml
[[layers]]
name = 'lsp'
enabled_clients = ['clangd']
```
### 语法检查
`checkers` 模块为 SpaceVim 提供了语法检查的功能,该模块默认已经载入。该模块默认使用 [neomake](https://github.com/neomake/neomake)