Bug 438441 - Typescript highlighting seems to be missing some keywords (export, interface, etc.)
Summary: Typescript highlighting seems to be missing some keywords (export, interface,...
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: theme (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-11 01:49 UTC by Cris Fuhrman
Modified: 2021-06-11 14:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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