-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add diagnosticRenderer, and option overrides to public API of codemir…
…ror-language-client
- Loading branch information
1 parent
23c84af
commit 0ca7963
Showing
8 changed files
with
114 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/codemirror-language-client': minor | ||
--- | ||
|
||
Add `diagnosticRenderer` and option overrides to public API of CodeMirrorLanguageClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 11 additions & 3 deletions
14
packages/codemirror-language-client/src/extensions/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
export { clientFacet, fileUriFacet } from './client'; | ||
export { textDocumentSync, textDocumentField } from './textDocumentSync'; | ||
export { | ||
liquidHTMLCompletionExtension, | ||
AutocompleteOptions, | ||
InfoRenderer, | ||
completeLiquidHTML, | ||
infoRendererFacet, | ||
InfoRenderer, | ||
liquidHTMLCompletionExtension, | ||
} from './complete'; | ||
export { lspLinter, diagnosticsFacet, lspDiagnosticsField } from './lspLinter'; | ||
export { | ||
DiagnosticRenderer, | ||
LinterOptions, | ||
diagnosticRendererFacet, | ||
diagnosticsFacet, | ||
lspDiagnosticsField, | ||
lspLinter, | ||
} from './lspLinter'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"resolveJsonModule": false, | ||
"lib": [ | ||
"es2019", | ||
"DOM", | ||
"webworker" | ||
] | ||
} | ||
|