We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db90d4b commit a9a0b62Copy full SHA for a9a0b62
lsp-types/src/Language/LSP/Protocol/Message/Method.hs
@@ -33,7 +33,7 @@ import Unsafe.Coerce
33
-- | Is this an "optional" method which servers and clients are allowed to ignore?
34
isOptionalMethod :: SomeMethod -> Bool
35
-- See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#dollarRequests
36
-isOptionalMethod m = "$" `isPrefixOf` someMethodToMethodString m
+isOptionalMethod m = "$/" `isPrefixOf` someMethodToMethodString m
37
38
deriving stock instance Show SomeMethod
39
instance Eq SomeMethod where
0 commit comments