Skip to content

Commit

Permalink
Merge pull request vimeo#10408 from tm1000/patch-2
Browse files Browse the repository at this point in the history
Declare we do not support document highlighting
  • Loading branch information
orklah committed Nov 26, 2023
2 parents 61405e4 + 461ff95 commit 982f95c
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 982f95c

Please sign in to comment.