Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Sep 1, 2023
1 parent e9ff013 commit e6fc99e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ Using Python multithreading techniques, lsp-bridge builds a high-speed cache bet
(global-lsp-bridge-mode)
```

* If you are using straight to install, you should use the following configuration to install:

```elisp
(use-package lsp-bridge
:straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge" :files (:defaults "*.py" "acm/*" "core/*") :build (:not compile))
:init
(global-lsp-bridge-mode))
```


Please note that:

1. When using lsp-bridge, please first disable other completion plugins such as lsp-mode, eglot, company, corfu, etc. Lsp-bridge provides a complete solution from completion backend, frontend to multi-backend fusion.
Expand Down
9 changes: 9 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ lsp-bridge 使用 Python 多线程技术在 Emacs 和 LSP 服务器之间构建
(global-lsp-bridge-mode)
```

* 如果你使用 straight 来安装, 应该用下面的配置来安装:

```elisp
(use-package lsp-bridge
:straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge" :files (:defaults "*.py" "acm/*" "core/*") :build (:not compile))
:init
(global-lsp-bridge-mode))
```

请注意:

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

0 comments on commit e6fc99e

Please sign in to comment.