unison-cli-0.0.0
Safe HaskellNone
LanguageHaskell2010

Unison.LSP.ProjectContext

Synopsis
  • projectContextHandler :: forall {f1 :: MessageDirection} {f2 :: MessageDirection}. TRequestMessage ('Method_CustomMethod "unison/projectContext" :: Method f1 'Request) -> (Either (TResponseError ('Method_CustomMethod "unison/projectContext" :: Method f2 'Request)) Value -> Lsp ()) -> Lsp ()

Documentation

projectContextHandler :: forall {f1 :: MessageDirection} {f2 :: MessageDirection}. TRequestMessage ('Method_CustomMethod "unison/projectContext" :: Method f1 'Request) -> (Either (TResponseError ('Method_CustomMethod "unison/projectContext" :: Method f2 'Request)) Value -> Lsp ()) -> Lsp () Source #

Handler for the 'unison/projectContext' custom LSP request. This returns the current project's name and branch.