Bug 438441

Summary: Typescript highlighting seems to be missing some keywords (export, interface, etc.)
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Cris Fuhrman <fuhrmanator+bugs.kde.org>
Component: themeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Cris Fuhrman 2021-06-11 01:49:42 UTC
SUMMARY

I'm using Pandoc to highlight source code blocks, and it's using skylighting which uses e.g., https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/typescript.xml

Apologies that I'm not using KDE directly, so I documented the problem at https://github.com/jgm/skylighting/issues/57#issuecomment-859199801

OBSERVED RESULT

Keywords such as `export` and `interface` are not highlighted. They seem to be missing from the syntax file.

EXPECTED RESULT

Keywords such as `export` and `interface` should be highlighted.

SOFTWARE/OS VERSIONS
Ubuntu 20.04 running Pandoc 
pandoc 2.13
Compiled with pandoc-types 1.22, texmath 0.12.2, skylighting 0.10.5,
citeproc 0.3.0.9, ipynb 0.1.0.1

ADDITIONAL INFORMATION

Using `javascript` as a language with highlighting gets these keywords (export, interface), as those keywords appear in the syntax file.
Comment 1 Cris Fuhrman 2021-06-11 14:46:59 UTC
This appears to be a bug in skylighting not supporting include elements, and I created an issue there at https://github.com/jgm/skylighting/issues/124