X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=src%2FLanguage%2FHaskell%2FLSP%2FTest%2FCapabilities.hs;h=2fd3a9947017ef244dd549585403df50078717f2;hp=96d5b6708f66222c69f34e0b8d0ff31f468a27df;hb=cdb1ba7038c32bac71a3bc783effc1e07049a985;hpb=70dab815ec112db4f246ebce3070340f931a27ae diff --git a/src/Language/Haskell/LSP/Test/Capabilities.hs b/src/Language/Haskell/LSP/Test/Capabilities.hs index 96d5b67..2fd3a99 100644 --- a/src/Language/Haskell/LSP/Test/Capabilities.hs +++ b/src/Language/Haskell/LSP/Test/Capabilities.hs @@ -3,14 +3,13 @@ module Language.Haskell.LSP.Test.Capabilities where import Language.Haskell.LSP.Types import Language.Haskell.LSP.Types.Capabilities --- | Capabilities for full conformance to the current (v3.10) LSP specification. --- The whole shebang. +-- | The whole shebang. The real deal. +-- Capabilities for full conformance to the current (v3.10) LSP specification. fullCaps :: ClientCapabilities fullCaps = capsForVersion (LSPVersion maxBound maxBound) -- | A specific version of the LSP specification. -data LSPVersion = LSPVersion Int -- ^ Major - Int -- ^ Minor +data LSPVersion = LSPVersion Int Int -- ^ Construct a major.minor version -- | Capabilities for full conformance to the LSP specification up until a version. -- Some important milestones: