(sigil lsp diagnostics)
(sigil lsp diagnostics) - LSP Diagnostic generation.
Turns format errors and lint warnings into LSP Diagnostic dict alists suitable for publishing via textDocument/publishDiagnostics.
Exports
compute-diagnosticsprocedureCompute the full diagnostics list for TEXT, running the formatter (parse/paren checks) and the linter.
publish-diagnostics-paramsprocedureBuild the params object for textDocument/publishDiagnostics.