[clangd] Added a TextMate theme parser to the vscode extension.
authorJohan Vikstrom <jvikstrom@google.com>
Wed, 7 Aug 2019 08:48:52 +0000 (08:48 +0000)
committerJohan Vikstrom <jvikstrom@google.com>
Wed, 7 Aug 2019 08:48:52 +0000 (08:48 +0000)
commit57ced1e1551757a8da3aa30ef662fc4bc776dc63
tree9449852de7df3118a96ee8384d7bf3d0891cc0a8
parent843280bfe30e1b784d4a84d16c85b68d4430fab5
[clangd] Added a TextMate theme parser to the vscode extension.

Summary:
Adds a TextMate parser module to the vscode extension. It parses a theme into an array of a pair of TextMate scopes and text colors.

Reviewers: hokein, ilya-biryukov

Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65738

llvm-svn: 368136
clang-tools-extra/clangd/clients/clangd-vscode/package.json
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts [new file with mode: 0644]
clang-tools-extra/clangd/clients/clangd-vscode/test/assets/includeTheme.jsonc [new file with mode: 0644]
clang-tools-extra/clangd/clients/clangd-vscode/test/assets/simpleTheme.jsonc [new file with mode: 0644]
clang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts [new file with mode: 0644]