aboutsummaryrefslogtreecommitdiff
path: root/plugin/ThirdPartyNotices.md
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 02:52:07 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 02:52:07 +0000
commitd5851e995363e6f637a5f35cafe3ddaf8934705a (patch)
treed3d2b1b5474ca3c33e3025420152f7384572e977 /plugin/ThirdPartyNotices.md
parent0e83581ed907aee1f6e59524c7d28b6f9c016f8e (diff)
feat(plugin): highlight exception keywords with C++ scopes
Reuse C++ try, catch and throw scopes for exception keywords, with ENDTRY sharing the TRY scope. Add an example and verify keyword boundaries, case sensitivity, comments and strings with TextMate tokenization. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'plugin/ThirdPartyNotices.md')
-rw-r--r--plugin/ThirdPartyNotices.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/ThirdPartyNotices.md b/plugin/ThirdPartyNotices.md
index d21d67a..72c3190 100644
--- a/plugin/ThirdPartyNotices.md
+++ b/plugin/ThirdPartyNotices.md
@@ -1,7 +1,10 @@
# Third-party notices
Language configuration and comment/string grammar structures are adapted from
-Microsoft VS Code’s built-in C++ extension:
+Microsoft VS Code’s built-in C++ extension. Exception keywords reuse its
+`keyword.control.try.cpp`, `keyword.control.catch.cpp` and
+`keyword.control.throw.cpp` scopes; ENDTRY uses the TRY scope.
+
https://github.com/microsoft/vscode/tree/main/extensions/cpp
MIT License