[PATCH] D65738: [clangd] Added a TextMate theme parser that updates when the current theme changes.

Johan Vikström via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 03:36:11 PDT 2019


jvikstrom updated this revision to Diff 213567.
jvikstrom marked 6 inline comments as done.
jvikstrom added a comment.

Renamed file to semantic-highlighting.ts. Added test for parsing theme files. Inlined the parsing into the loading function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65738/new/

https://reviews.llvm.org/D65738

Files:
  clang-tools-extra/clangd/clients/clangd-vscode/package.json
  clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
  clang-tools-extra/clangd/clients/clangd-vscode/test/assets/firstIncludedTheme.jsonc
  clang-tools-extra/clangd/clients/clangd-vscode/test/assets/secondIncludedTheme.jsonc
  clang-tools-extra/clangd/clients/clangd-vscode/test/assets/testTheme.jsonc
  clang-tools-extra/clangd/clients/clangd-vscode/test/assets/tmThemeInclude.tmTheme
  clang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65738.213567.patch
Type: text/x-patch
Size: 7617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190806/7121d636/attachment-0001.bin>


More information about the cfe-commits mailing list