Skip to content

Commit e30c372

Browse files
authored
special number forms
1 parent e38db68 commit e30c372

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

d.nanorc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ color green "\<(try|throw|catch|scope|finally)\>"
88
color green "\<(align|asm|assert|auto|const|export|null|shared|typeid|typeof|final)\>"
99
color brightmagenta "\<(goto|continue|break|return)\>"
1010
color brightcyan "\<(import|pragma|version|mixin|module|macro)\>"
11-
color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
11+
color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'"
12+
13+
## numbers
14+
color brightwhite "0?(b|B)[01_]+" "octal![0-7]+" "0?(x|X)[0-9A-Fa-f_]+"
15+
color normal "octal"
1216

1317
## accessors and other class/struct keywords
1418
color blue "\<(abstract|override|package|private|protected|public|super|static|this|new)\>"

0 commit comments

Comments
 (0)