Skip to content

Commit

Permalink
Update README for clangd.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Nov 2, 2023
1 parent 97b060f commit 17fc3fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ If your language supports mixed multi-language servers, it is recommended to che

| LSP Server | Language | Note |
|:---------------------------------------------------------------------------------------------------|:----------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [clangd](https://github.com/clangd/clangd) | C, C++, Object-C | need you config compile_commands.json first |
| [clangd](https://github.com/clangd/clangd) | C, C++, Object-C | You need to configure compile_commandsjson or CMakeListstxt files in root directory of project |
| [ccls](https://github.com/MaskRay/ccls) | C, C++, Object-C | `lsp-bridge-c-lsp-server` set to `ccls`, you need to configure compile_commands.json first |
| [pyright](https://github.com/microsoft/pyright) | Python | `lsp-bridge-python-lsp-server` set to `pyright`, `pyright-background-analysis` is faster sometimes, but it can’t response diagnostic informations |
| [jedi](https://github.com/pappasam/jedi-language-server) | Python | `lsp-bridge-python-lsp-server` set to `jedi` |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ lsp-bridge 每种语言的服务器配置存储在 [lsp-bridge/langserver](https

| LSP 服务器 | 语言 | 备注 |
|:---------------------------------------------------------------------------------------------------|:----------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [clangd](https://github.com/clangd/clangd) | C, C++, Object-C | 需要在项目根目录配置好 compile_commands.json |
| [clangd](https://github.com/clangd/clangd) | C, C++, Object-C | 需要在项目根目录配置好 compile_commands.json 或 CMakeLists.txt 文件 |
| [ccls](https://github.com/MaskRay/ccls) | C, C++, Object-C | `lsp-bridge-c-lsp-server` 设置成 `ccls`, 需要在项目根目录配置好 compile_commands.json |
| [pyright](https://github.com/microsoft/pyright) | Python | `pip install pyright`, `lsp-bridge-python-lsp-server` 设置成 `pyright`, `pyright-background-analysis` 更快, 但是无法返回诊断信息 |
| [jedi](https://github.com/pappasam/jedi-language-server) | Python | `lsp-bridge-python-lsp-server` 设置成 `jedi` |
Expand Down

0 comments on commit 17fc3fb

Please sign in to comment.