mirror of https://github.com/Wilfred/difftastic/
generalize bit string option node (#22)
* generalize bit string option node * highlight bit-string options as function.builtinpull/204/head
parent
1a9e736304
commit
11d78be28e
@ -0,0 +1,27 @@
|
||||
fn bit_strings() {
|
||||
<<3>>
|
||||
// <- punctuation.bracket
|
||||
//^ number
|
||||
// ^ punctuation.bracket
|
||||
<<3:8>>
|
||||
//^ number
|
||||
// ^ punctuation.delimiter
|
||||
// ^ number
|
||||
<<3:size(8)>>
|
||||
//^ number
|
||||
// ^ punctuation.delimiter
|
||||
// ^ function.builtin
|
||||
// ^ punctuation.bracket
|
||||
// ^ number
|
||||
// ^ punctuation.bracket
|
||||
<<code:int-size(8)-unit(2), reason:utf8>>
|
||||
// ^ variable
|
||||
// ^ function.builtin
|
||||
// ^ punctuation.delimiter
|
||||
// ^ function.builtin
|
||||
// ^ number
|
||||
// ^ function.builtin
|
||||
// ^ number
|
||||
// ^ variable
|
||||
// ^ function.builtin
|
||||
}
|
||||
Loading…
Reference in New Issue