Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
:: Foldable f | |
=> Uri | |
-> Maybe FileVersion | |
-> f Diagnostic | Note, it's important to still send an empty list of diagnostics if there aren't any because it clears existing diagnostics in the editor |
-> Lsp () |
mkDiagnostic :: Uri -> Range -> DiagnosticSeverity -> [DiagnosticTag] -> Text -> [(Text, Range)] -> Diagnostic Source #
data DiagnosticSeverity #
DiagnosticSeverity_Error | |
DiagnosticSeverity_Warning | |
DiagnosticSeverity_Information | |
DiagnosticSeverity_Hint |