1
1
mirror of https://github.com/haskell/lsp.git synced 2024-10-04 02:47:31 +03:00
This commit is contained in:
Patrick Wales 2024-01-01 00:58:20 +08:00 committed by GitHub
parent 618886cdb9
commit 6faa9b5ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -985,7 +985,7 @@ resolveRequestWithListResp method params = do
rsp <- request method params
pure $ absorbNull $ getResponseResult rsp
-- | Pass a param and return the response from `prepareCallHierarchy`
-- | Pass a param and return the response from `semanticTokensFull`
getSemanticTokens :: TextDocumentIdentifier -> Session (SemanticTokens |? Null)
getSemanticTokens doc = do
let params = SemanticTokensParams Nothing Nothing doc