File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -487,12 +487,12 @@ The MARKERS and PREFIX value will be attached to each candidate."
487
487
:company-doc-buffer (-compose #'company-doc-buffer
488
488
#'lsp-completion--get-documentation )
489
489
:exit-function
490
- (-rpartial #'lsp-completion--exit-fn trigger-chars candidates)))))
490
+ (-rpartial #'lsp-completion--exit-fn candidates)))))
491
491
492
- (defun lsp-completion--exit-fn (candidate _status &optional trigger-chars candidates )
492
+ (defun lsp-completion--exit-fn (candidate _status &optional candidates )
493
493
" Exit function of `completion-at-point' .
494
494
CANDIDATE is the selected completion item.
495
- Others: TRIGGER-CHARS CANDIDATES"
495
+ Others: CANDIDATES"
496
496
(unwind-protect
497
497
(-let* ((candidate (if (plist-member (text-properties-at 0 candidate)
498
498
'lsp-completion-item )
@@ -545,10 +545,7 @@ Others: TRIGGER-CHARS CANDIDATES"
545
545
(lsp-feature? " textDocument/signatureHelp" ))
546
546
(lsp-signature-activate))
547
547
548
- (setq-local lsp-inhibit-lsp-hooks nil )
549
-
550
- (when (lsp-completion--looking-back-trigger-characterp trigger-chars)
551
- (setq this-command 'self-insert-command )))
548
+ (setq-local lsp-inhibit-lsp-hooks nil ))
552
549
(lsp-completion--clear-cache)))
553
550
554
551
(defun lsp-completion--regex-fuz (str )
You can’t perform that action at this time.
0 commit comments