Skip to content

Commit a9a0b62

Browse files
committed
Include the slash
1 parent db90d4b commit a9a0b62

File tree

1 file changed

+1
-1
lines changed
  • lsp-types/src/Language/LSP/Protocol/Message

1 file changed

+1
-1
lines changed

lsp-types/src/Language/LSP/Protocol/Message/Method.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import Unsafe.Coerce
3333
-- | Is this an "optional" method which servers and clients are allowed to ignore?
3434
isOptionalMethod :: SomeMethod -> Bool
3535
-- See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#dollarRequests
36-
isOptionalMethod m = "$" `isPrefixOf` someMethodToMethodString m
36+
isOptionalMethod m = "$/" `isPrefixOf` someMethodToMethodString m
3737

3838
deriving stock instance Show SomeMethod
3939
instance Eq SomeMethod where

0 commit comments

Comments
 (0)