1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-23 00:55:39 +01:00
nanorc/zig.nanorc

11 lines
628 B
Plaintext
Raw Normal View History

2020-10-02 09:46:00 +02:00
syntax "Zig" "\.zig$$"
color latte "\<(align|allowzero|and|anyframe|anytype|asm|async|await|break|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|noalias|nosuspend|or|orelse|packed|pub|resume|return|linksection|struct|suspend|switch|test|threadlocal|try|union|unreachable|usingnamespace|var|volatile|while)\>"
color brightcyan "@[a-zA-Z]+[0-9]{0,2}"
color cyan "(true|false|null|undefined)"
color cyan "\<(0[xob])?([0-9]_?)+\>"
color blue "\<([iu][0-9]{1,5}|f16|f32|f64|f128)\>"
color magenta "\"[^"]*\""
comment "//"
tabgives " "
2022-12-06 23:37:29 +01:00
formatter zig fmt