Support for "static" keyword.

This commit is contained in:
Christoffer Lerno
2021-05-30 16:22:16 +02:00
committed by Christoffer Lerno
parent 0605a8c500
commit dd8b850544
30 changed files with 121 additions and 64 deletions

View File

@@ -21,7 +21,7 @@ color brightred "@\<[A-Za-z_]+\>"
color green "\<(virtual|void|bool|quad|double|float|long|ulong|int|uint|short|ushort|ichar|char|isize|usize|iptr|uptr|iptrdiff|uptrdiff|half)\>"
# Keywords
color yellow "\<(alias|as|asm|assert|attribute|break|case|catch|const|continue|default|defer|define|do|else|enum|extern|error|false|for|foreach|func|generic|if|import|interface|macro|module|nextcase|null|public|return|static|struct|switch|template|true|try|typeid|typeof|union|while|var|volatile)\>"
color yellow "\<(alias|as|asm|assert|attribute|break|case|catch|const|continue|default|defer|define|do|else|enum|extern|error|false|for|foreach|func|generic|if|import|interface|macro|module|nextcase|null|private|return|static|struct|switch|template|true|try|typeid|typeof|union|while|var|volatile)\>"
# Strings
color brightblack "\"[^"]*\""