We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997b38f commit a9c5fecCopy full SHA for a9c5fec
clients/lsp-rust.el
@@ -605,7 +605,7 @@ The command should include `--message=format=json` or similar option."
605
(lsp-rust-analyzer-inlay-hints-mode)))
606
:ignore-messages nil
607
:server-id 'rust-analyzer
608
- :custom-capabilities `((experimental . ((snippetTextEdit . ,lsp-enable-snippet ))))
+ :custom-capabilities `((experimental . ((snippetTextEdit . ,(and lsp-enable-snippet (featurep 'yasnippet))))))
609
:download-server-fn (lambda (_client callback error-callback _update?)
610
(lsp-package-ensure 'rust-analyzer callback error-callback))))
611
0 commit comments