Add literals highlighting
This commit is contained in:
parent
e2aa90e0f4
commit
b9fd34c084
2 changed files with 32 additions and 0 deletions
19
test/highlight/litterals.bp
Normal file
19
test/highlight/litterals.bp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
foo = 0
|
||||
// ^ number
|
||||
|
||||
foo = -42
|
||||
// ^ number
|
||||
|
||||
foo = true
|
||||
// ^ boolean
|
||||
|
||||
foo = "foo\nbar"
|
||||
// ^ string
|
||||
// ^ string.escape
|
||||
// ^ string.escape
|
||||
// ^ string
|
||||
// ^ string
|
||||
|
||||
foo = `baz`
|
||||
// ^ string
|
||||
// ^ string
|
||||
Loading…
Add table
Add a link
Reference in a new issue