Skip to content

Commit

Permalink
Fixes vimeo#10397
Browse files Browse the repository at this point in the history
Explicitly state that we do not support document highlighting.
  • Loading branch information
tm1000 committed Nov 25, 2023
1 parent b654545 commit 461ff95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Psalm/Internal/LanguageServer/LanguageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,11 @@ function () use ($workDoneToken) {
* Support "Hover"
*/
$serverCapabilities->hoverProvider = true;
/**
* The server does not support documentHighlight-ing
* Ref: https://github.com/vimeo/psalm/issues/10397
*/
$serverCapabilities->documentHighlightProvider = false;

/**
* The server provides completion support.
Expand Down

0 comments on commit 461ff95

Please sign in to comment.