Skip to content

Commit

Permalink
Add note about acm-enable-capf.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Oct 6, 2024
1 parent 6ec8476 commit 676ef9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ Currently, the design of capf is not suitable for the LSP protocol. The capf com

If there is no capf completion, please ensure that the current mode is present in `acm-backend-capf-mode-list`. If it's not in `acm-backend-capf-mode-list`, pull request are welcome.

Note: after enable `acm-enable-capf` emacs becomes slow and its definitely a problem with the capf backend implementation not an issue with lsp-bridge itself

### pyenv configuration

If you use a Python distribution installed via `pyenv`, you must adjust your
Expand Down
2 changes: 2 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ lsp-bridge 针对许多语言都提供 2 个以上的语言服务器支持,

如果没有 capf 补全, 请确保当前模式存在于 `acm-backend-capf-mode-list` 中, 如果不在 `acm-backend-capf-mode-list` 中, 欢迎 PR。

注意: 打开 `acm-enable-capf` 后 Emacs 卡顿, 100% 是 capf 某个后端实现的问题, lsp-bridge 本身不会造成 Emacs 卡顿。

### pyenv 配置

如果你使用通过 `pyenv` 安装的 Python 发行版, 你必须调整你的 `lsp-bridge-python-command` 变量, 使其指向你所选 Python 版本的实际 `python3` 可执行文件, 而不是 `pyenv``python3` 提供的 shim。 选择下面任意一种方案放到你的 `lsp-bridge` 配置中:
Expand Down

0 comments on commit 676ef9e

Please sign in to comment.