aboutsummaryrefslogtreecommitdiff
path: root/plugin/AGENTS
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-21 10:29:27 +0000
committer_ov4 <ov4@ov4.org>2026-10-21 10:29:27 +0000
commit9939ebe7f0ec25b042c9d83ed651cde0e2ea3a30 (patch)
tree7dc877a16689d04ba80cab03ad544533d3a50e2d /plugin/AGENTS
parent3cdb5d202faf04993e5aad955078653251cb6073 (diff)
feat(plugin): highlight supported keywords and directives
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'plugin/AGENTS')
-rw-r--r--plugin/AGENTS/ARCH.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugin/AGENTS/ARCH.md b/plugin/AGENTS/ARCH.md
index a8986d1..31c5974 100644
--- a/plugin/AGENTS/ARCH.md
+++ b/plugin/AGENTS/ARCH.md
@@ -97,10 +97,12 @@ only a subset of its syntax:
- Highlighted builtins: LENGTH, MID, RIGHT, LEFT, LCASE, UCASE, ASC, CHR, IS_NUM,
NUM_TO_STR, STR_TO_NUM and EOF. The compiler's complete table is in
`lib/CodeGen/Builtins.h` and also includes MALLOC, FREE and REALLOC.
-- CASE, CLASS, CONSTANT, OVERLOAD/OPERATOR and #LIB are supported by the compiler
- but lack corresponding plugin language rules. SET, DATE and random-file
- operations remain unsupported by the compiler too. Extending editor support
- requires an explicit scope change.
+- Highlighting covers CASE/ENDCASE/OTHERWISE, CLASS/ENDCLASS/PUBLIC/PRIVATE,
+ CONSTANT, TEMPLATE, OVERLOAD/OPERATOR, EXTERN declarations, INCLUDE_OBJ, #LIB
+ and ellipses using C++ scopes. OVERLOAD borrows a declaration modifier, #LIB
+ borrows #pragma and INCLUDE_OBJ borrows #include. #LIB must occupy its own line.
+ These rules do not add indentation support for the corresponding constructs.
+ SET, DATE and random-file operations remain unsupported by the compiler.
Language defaults use real Tabs, display width 4, disabled indentation detection,
full automatic indentation, on-type formatting and native bracket pair colors.