Skip to content

Commit f8fce0d

Browse files
committed
Add inlayHint capability.
Servers might check it, e.g. metals.
1 parent 046e783 commit f8fce0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,8 @@ disappearing, unset all the variables related to it."
38283828
(diagnostic . ((dynamicRegistration . :json-false)
38293829
(relatedDocumentSupport . :json-false)))
38303830
(linkedEditingRange . ((dynamicRegistration . t)))
3831-
(inlineCompletion . ())))
3831+
(inlineCompletion . ())
3832+
,@(when lsp-inlay-hint-enable '((inlayHint . ((dynamicRegistration . :json-false)))))))
38323833
(window . ((workDoneProgress . t)
38333834
(showDocument . ((support . t))))))
38343835
custom-capabilities))

0 commit comments

Comments
 (0)