Skip to content

Commit a936aa4

Browse files
Add install guide in Chinese README.
1 parent 5fed6a2 commit a936aa4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.zh-CN.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,33 @@ lsp-bridge 的优势:
4949
(global-lsp-bridge-mode))
5050
```
5151

52+
* 如果你使用 `doom-emacs`
53+
54+
添加下面配置到文件 `packages.el`
55+
56+
``` elisp
57+
(when (package! lsp-bridge
58+
:recipe (:host github
59+
:repo "manateelazycat/lsp-bridge"
60+
:branch "master"
61+
:files ("*.el" "*.py" "acm" "core" "langserver" "multiserver" "resources")
62+
;; do not perform byte compilation or native compilation for lsp-bridge
63+
:build (:not compile)))
64+
(package! markdown-mode)
65+
(package! yasnippet))
66+
```
67+
68+
添加下面配置到文件 `config.el`
69+
70+
``` elisp
71+
(use-package! lsp-bridge
72+
:config
73+
(setq lsp-bridge-enable-log nil)
74+
(global-lsp-bridge-mode))
75+
```
76+
77+
并执行命令 `doom sync` 进行安装。
78+
5279
请注意:
5380

5481
1. 使用 lsp-bridge 时, 请先关闭其他补全插件, 比如 lsp-mode, eglot, company, corfu 等等, lsp-bridge 提供从补全后端、 补全前端到多后端融合的全套解决方案。

0 commit comments

Comments
 (0)