From f775c82f2c1a64975b82b6c6b9b20e1af58ba6ee Mon Sep 17 00:00:00 2001 From: xhcoding Date: Wed, 10 Jan 2024 23:44:46 +0800 Subject: [PATCH] feat: add company and eglot-booster --- README.org | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 849f5eb..751cac0 100644 --- a/README.org +++ b/README.org @@ -1348,6 +1348,24 @@ ref:https://github.com/manateelazycat/toggle-one-window (require 'acm-terminal)))) #+end_src +** company 补全 + +#+begin_src elisp + (use-package company + :straight t + :defer t + :bind (:map company-active-map + ("TAB" . company-complete-selection))) +#+end_src + +** eglot-booster 加速 eglot + +#+begin_src elisp + (use-package eglot-booster + :straight (eglot-booster :type git :host github :repo "jdtsmith/eglot-booster") + :after eglot + :config (eglot-booster-mode)) +#+end_src ** 启动代码服务 @@ -2890,8 +2908,7 @@ Wanderlust + offlineimap3 + mu '("b" . consult-buffer) '("r" . consult-ripgrep) - '("f" . projectile-find-file) - '("p" . projectile-switch-project) + '("f" . consult-find) '("/" . evilnc-comment-or-uncomment-lines)