From 676ef9e0057de3a80a0cc2b687939b2d8cd68516 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Mon, 7 Oct 2024 01:26:05 +0800 Subject: [PATCH] Add note about acm-enable-capf. --- README.md | 2 ++ README.zh-CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index a7ea312912..08e62294ee 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.zh-CN.md b/README.zh-CN.md index cb3aa5387f..dc11cc9314 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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` 配置中: