一个简单的 capf,可以出来补全项。
(defun lsp-bridge-completion-at-point ()
(let (
(bounds (bounds-of-thing-at-point 'symbol)))
(list (car bounds) (cdr bounds)
lsp-bridge-completion-items
:exclusive 'no)))
一个简单的 capf,可以出来补全项。
(defun lsp-bridge-completion-at-point ()
(let (
(bounds (bounds-of-thing-at-point 'symbol)))
(list (car bounds) (cdr bounds)
lsp-bridge-completion-items
:exclusive 'no)))