mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 05:30:08 +02:00
Merge 6d79f933291e022b2204760300b9edce8631cd1f into 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd
This commit is contained in:
commit
c45237cea3
1
nanorc
1
nanorc
@ -88,3 +88,4 @@ include "~/.nano/xresources.nanorc"
|
||||
include "~/.nano/yaml.nanorc"
|
||||
include "~/.nano/yum.nanorc"
|
||||
include "~/.nano/zsh.nanorc"
|
||||
include "~/.nano/zig.nanorc"
|
||||
|
@ -1,9 +1,9 @@
|
||||
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 green "\<(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 "\"[^"]*\""
|
||||
color magenta "\"[^\"]*\""
|
||||
comment "//"
|
||||
tabgives " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user