Skip to content

Commit

Permalink
Add inlayHint capability.
Browse files Browse the repository at this point in the history
Servers might check it, e.g. metals.
  • Loading branch information
kurnevsky committed Jan 2, 2025
1 parent 046e783 commit f8fce0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -3828,7 +3828,8 @@ disappearing, unset all the variables related to it."
(diagnostic . ((dynamicRegistration . :json-false)
(relatedDocumentSupport . :json-false)))
(linkedEditingRange . ((dynamicRegistration . t)))
(inlineCompletion . ())))
(inlineCompletion . ())
,@(when lsp-inlay-hint-enable '((inlayHint . ((dynamicRegistration . :json-false)))))))
(window . ((workDoneProgress . t)
(showDocument . ((support . t))))))
custom-capabilities))
Expand Down

0 comments on commit f8fce0d

Please sign in to comment.