Skip to content

Commit a8c35b4

Browse files
authored
Add renamed rust-analyzer triggerParameterHints action. (#3981)
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..
1 parent 8b2480b commit a8c35b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clients/lsp-rust.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,8 @@ tokens legend."
12521252
:notification-handlers (ht<-alist lsp-rust-notification-handlers)
12531253
:action-handlers (ht ("rust-analyzer.runSingle" #'lsp-rust--analyzer-run-single)
12541254
("rust-analyzer.debugSingle" #'lsp-rust--analyzer-debug-lens)
1255-
("rust-analyzer.showReferences" #'lsp-rust--analyzer-show-references))
1255+
("rust-analyzer.showReferences" #'lsp-rust--analyzer-show-references)
1256+
("rust-analyzer.triggerParameterHints" #'lsp--action-trigger-parameter-hints))
12561257
:library-folders-fn (lambda (_workspace) lsp-rust-analyzer-library-directories)
12571258
:after-open-fn (lambda ()
12581259
(when lsp-rust-analyzer-server-display-inlay-hints

0 commit comments

Comments
 (0)