Skip to content

Commit

Permalink
Add renamed rust-analyzer triggerParameterHints action. (emacs-lsp#3981)
Browse files Browse the repository at this point in the history
rust-analyzer PR #14147 removes the editor.action VSCode internal
command for triggerParameterHints, so the new handler name needs
to be added to lsp-rust..
  • Loading branch information
jkl1337 authored Mar 3, 2023
1 parent 8b2480b commit a8c35b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/lsp-rust.el
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,8 @@ tokens legend."
:notification-handlers (ht<-alist lsp-rust-notification-handlers)
:action-handlers (ht ("rust-analyzer.runSingle" #'lsp-rust--analyzer-run-single)
("rust-analyzer.debugSingle" #'lsp-rust--analyzer-debug-lens)
("rust-analyzer.showReferences" #'lsp-rust--analyzer-show-references))
("rust-analyzer.showReferences" #'lsp-rust--analyzer-show-references)
("rust-analyzer.triggerParameterHints" #'lsp--action-trigger-parameter-hints))
:library-folders-fn (lambda (_workspace) lsp-rust-analyzer-library-directories)
:after-open-fn (lambda ()
(when lsp-rust-analyzer-server-display-inlay-hints
Expand Down

0 comments on commit a8c35b4

Please sign in to comment.