highlight: Fix panic when cancelled before parsing a nested document
This commit is contained in:
parent
34de25ce54
commit
bd466febb4
9 changed files with 201 additions and 74 deletions
|
|
@ -11,6 +11,7 @@ typedef enum {
|
|||
TSHighlightOk,
|
||||
TSHighlightUnknownScope,
|
||||
TSHighlightTimeout,
|
||||
TSHighlightInvalidLanguage,
|
||||
} TSHighlightError;
|
||||
|
||||
// The list of scopes which can be styled for syntax highlighting.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue