lsp-bridge -- 速度最快的语法补全插件

现在 lsp-bridge 太快了,无时无刻不在弹出补全菜单, 但在某些场景下没有必要弹出补全菜单,比如行首位置、 比如空括号内, 现在主要靠下面两个选项在控制:

(defcustom lsp-bridge-completion-stop-commands '(corfu-complete corfu-insert undo-tree-undo undo-tree-redo)
  "If last command is match this option, stop popup completion ui."
  :type 'cons
  :group 'lsp-bridge)

(defcustom lsp-bridge-hide-completion-characters '(":" ";" "(" ")" "[" "]" "{" "}" "," "\"")
  "If char before match this option, stop popup completion ui."
  :type 'cons
  :group 'lsp-bridge)

欢迎大家一起来补全这两条规则,如果有一些意外情况大家也可以反馈,争取把默认配置弄的舒服点,避免 lsp-bridge 到处弹补全对话框。

7 个赞