h$#       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\None#None" #$%&'(./>?']lspA function that a , is passed that can be used to respond to a request with either an error, or the response params. lspContains all the callbacks to use for initialized the language server. it is parameterized over a config type variable representing the type for the specific configuration data the language server needs to use. lsp7The default value we initialize the config variable to. lsp)onConfigurationChange oldConfig newConfig is called whenever the clients sends a message with a changed client configuration. This callback should return either the parsed configuration data or an error indicating what went wrong. The parsed configuration object will be stored internally and can be accessed via config. It is also called on the initializationOptions field of the InitializeParamslspCalled *after* receiving the  initialize request and *before* returning the response. This callback will be invoked to offer the language server implementation the chance to create any processes or start new threads that may be necesary for the server lifecycle. It can also return an error in the initialization if necessary.lspHandlers for any methods you want to statically support. The handlers here cannot be unregistered during the server's lifetime and will be regsitered statically in the initialize request.lsp5How to run the handlers in your own monad of choice, m. It is passed the result of 2, so typically you will want to thread along the 39 as well as any other state you need to run your monad. m( should most likely be built on top of >.  ServerDefinition { ... , doInitialize = env _req -> pure $ Right env , interpretHandler = env -> Iso (runLspT env) -- how to convert from IO ~> m liftIO -- how to convert from m ~> IO } lsp3Configurable options for the server's capabilities. lsp3Whether or not the user should be able to cancel a T/U session lspThrown if the user cancels a  TU session lspA package indicating the perecentage of progress complete and a an optional message to go with it during a TlspLanguage Server Protocol options that the server may configure. If you set handlers for some requests, you may need to set some of these options.lsp5The characters that trigger completion automatically.lspThe list of all possible characters that commit a completion. This field can be used if clients don't support individual commmit characters per completion item. See ^.lsp9The characters that trigger signature help automatically.lspList of characters that re-trigger signature help. These trigger characters are only active when signature help is already showing. All trigger characters are also counted as re-trigger characters.lspCodeActionKinds that this server may return. The list of kinds may be generic, such as ?, or the server may list out every specific kind they provide. lspThe list of characters that triggers on type formatting. If you set documentOnTypeFormattingHandler, you **must** set this. The first character is mandatory, so a _ should be passed.!lsp7The commands to be executed on the server. If you set executeCommandHandler, you **must** set this."lspInformation about the server that can be advertised to the client.`lsp;state used by the LSP dispatcher to manage the message loop(lspHow to convert two isomorphic data structures between each other.,lspThe type of a handler that handles requests and notifications coming in from the server or client-lspWrapper to restrict ,s to a bs/lsp%A mapping from methods to the static ,s that should be used to handle responses when they come in from the client. To build up a /, you should c a list of B and Cs: mconcat [ notificationHandler SInitialized $ notif -> pure () , requestHandler STextDocumentHover $ req responder -> pure () ] dlspReturn value signals if response handler was inserted succesfully Might fail if the id was already in the mapIlsp Return the e associated with a given f, if there is one.KlspDump the current text for a given VFS file to a temporary file, and return the path to the file.LlspGiven a text document identifier, annotate it with the latest version.MlspIf the contents of a VFS has been dumped to a temporary file, map the temporary file name back to the original one.Nlsp9The current configuration from the client as set via the  initialize and  workspace/didChangeConfiguration requests.QlspThe current workspace folders, if the client supports workspace folders.RlspSends a client/registerCapability& request and dynamically registers a b with a , . Returns g if the client does not support dynamic registration for the specified method, otherwise a '* which can be used to unregister it later.SlspSends a client/unregisterCapability request and removes the handler for that associated registration.TlspWrapper for reporting progress to the client during a long running task. T title cancellable f starts a new progress reporting session, and finishes it once f is completed. f is provided with an update function that allows it to report on the progress during the session. If  cancellable is , f will be thrown a - if the user cancels the action in progress.U lspSame as T, but for processes that do not report the precentage complete.VlspAggregate all diagnostics pertaining to a particular version of a document, by source, and sends a textDocument/publishDiagnostics notification with the total (limited by the first parameter) whenever it is updated.WlspRemove all diagnostics from a particular source, and send the updates to the client.YlspThe changes in a workspace edit should be applied from the end of the file toward the start. Sort them into this order.Wlsp!Max number of diagnostics to send]h  i! "#$&%jklmno'pqr`stuvwxyz{|()+*,-./02134:98765;<=>?@ABCDE}~FdGHIJKLMNOPQRSTUVWXYNone #$%'(./lsp#Call this to initialize the sessionlspInfers the capabilities based on registered handlers, and sets the appropriate options. A provider should be set to Nothing if the server does not support it, unless it is a static option.lspInvokes the registered dynamic or static handlers for the given message and method, as well as doing some bookkeeping.lspDefault Shutdown handlerlsp%Updates the list of workspace folderslspAn action to be run before invoking the handler, used for bookkeeping stuff like the vfs etc. None Zlsp=Convenience function for 'runServerWithHandles stdin stdout'.[lspStarts a language server over the specified handles. This function will return once the exit notification is received.\lspStarts listening and sending requests and responses using the specified I/O.Zlspfunction to be called once initialize has been received from the client. Further message processing will start only after this returns.[lsp!Handle to read client input from.lspHandle to write output to.\lsp Client input.lspFunction to provide output to.Z[\None ;  " !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\Z\[#$%&  /012,DEBC-." !F>?@=;>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc]de]df`agh]ij]kl`mn\oopqrr*stcuvwxyz{|}~"lsp-1.2.0.0-3tTRj8PmcoN4TI8bygFXrALanguage.LSP.DiagnosticsLanguage.LSP.ServerLanguage.LSP.Server.CoreCodeActionKindRefactorLanguage.LSP.Server.ProcessingLanguage.LSP.Server.ControlDiagnosticsBySource StoreItemDiagnosticStorepartitionBySource flushBySourceupdateDiagnosticsgetDiagnosticParamsFor$fShowStoreItem $fEqStoreItemServerDefinition defaultConfigonConfigurationChange doInitializestaticHandlersinterpretHandleroptionsProgressCancellable CancellableNotCancellableProgressCancelledExceptionProgressAmountOptionstextDocumentSynccompletionTriggerCharacterscompletionAllCommitCharacterssignatureHelpTriggerCharacters signatureHelpRetriggerCharacterscodeActionKinds)documentOnTypeFormattingTriggerCharactersexecuteCommandCommands serverInfoVFSDatavfsData reverseMapRegistrationToken<~>IsoforwardbackwardHandlerClientMessageHandlerHandlers reqHandlers notHandlersLanguageContextEnv resHandlersresParseConfigresSendMessageresStateresClientCapabilities resRootPathMonadLsp getLspEnvLspMLspTunLspTrunLspTnotificationHandlerrequestHandlertransmuteHandlers mapHandlersdefaultOptionssendNotification sendRequestgetVirtualFilegetVirtualFilespersistVirtualFilegetVersionedTextDocreverseFileMap getConfiggetClientCapabilities getRootPathgetWorkspaceFoldersregisterCapabilityunregisterCapability withProgresswithIndefiniteProgresspublishDiagnosticsflushDiagnosticsBySource setupLoggerreverseSortEdit runServerrunServerWithHandles runServerWithServerResponseCallback(lsp-types-1.2.0.0-7pt44wIbdZXC4MysLJdkbtLanguage.LSP.Types.Completion>$sel:_commitCharactersSupport:CompletionItemClientCapabilitiesbaseGHC.BaseNonEmptyLanguageContextStateLanguage.LSP.Types.Method FromClientMethodmconcataddResponseHandlerLanguage.LSP.VFS VirtualFileLanguage.LSP.Types.Uri NormalizedUri GHC.MaybeNothing ProgressDataprogressCancelprogressNextIdRegistrationIdRegistrationMap ResponseMapresLspIdresRegistrationsReqresRegistrationsNotresPendingResponsesresProgressDataresWorkspaceFolders resConfigresDiagnosticsresVFS modifyState stateState getsState sendToClient sendErrorLog freshLspId storeProgressdeleteProgressgetNewProgressIdwithProgressBaseclientSupportsProgresshandleIOExceptioninitializeRequestHandlerinferServerCapabilitieshandleshutdownRequestHandlerupdateWorkspaceFoldershandle'processMessageprogressCancelHandlerexitNotificationHandlerhandleConfigChangevfsFunc