Files
RedBear-OS/recipes/wip/files/mc/source/misc/syntax/syntax.syntax
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

61 lines
2.1 KiB
YAML

# Syntax highlighting rules for syntax highlighting rules
# Use \[\] at the end of keywords to suppress their special meaning
wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.\\[]{}
context default
# Invalid combinations, not highlighted
keyword whole linestart\[\t\s\]whole
keyword whole linestart\[\t\s\]wholeleft
keyword whole linestart\[\t\s\]wholeright
# Combinations below are valid
keyword whole whole\[\t\s\]linestart brightcyan
keyword whole wholeleft\[\t\s\]linestart brightcyan
keyword whole wholeright\[\t\s\]linestart brightcyan
keyword whole whole\[\] brightcyan
keyword whole wholeleft\[\] brightcyan
keyword whole wholeright\[\] brightcyan
keyword whole linestart\[\] brightcyan
keyword whole wholechars\[\t\s\]left brightcyan
keyword whole wholechars\[\t\s\]right brightcyan
keyword whole wholechars\[\] brightcyan
keyword whole define\[\] brightcyan
keyword whole spellcheck\[\] yellow
keyword whole keyword\[\] yellow
keyword whole context\[\t\s\]exclusive brightred
keyword whole context\[\t\s\]default brightred
keyword whole context\[\] brightred
keyword whole caseinsensitive\[\] brightred
keyword whole linestart file\[\] brightgreen
keyword whole linestart include\[\] brightred
keyword whole black black blue
keyword whole red red
keyword whole green green
keyword whole brown brown
keyword whole blue blue black
keyword whole magenta magenta
keyword whole cyan cyan
keyword whole lightgray lightgray
keyword whole gray gray black
keyword whole brightred brightred
keyword whole brightgreen brightgreen
keyword whole yellow yellow
keyword whole brightblue brightblue black
keyword whole brightmagenta brightmagenta
keyword whole brightcyan brightcyan
keyword whole white white
context linestart # \n brown
spellcheck
# Ideally we would have defined comments with "context linestart \[\s\]# ...",
# but contexts can't start with a character class. So we define comments twice.
context linestart \s\[\s\]# \n brown
spellcheck