Add variables highlighting
This commit is contained in:
parent
b9fd34c084
commit
69e7f36f75
|
@ -16,4 +16,8 @@
|
||||||
(escape_sequence) @string.escape
|
(escape_sequence) @string.escape
|
||||||
; }}}
|
; }}}
|
||||||
|
|
||||||
|
; Declarations {{{
|
||||||
|
(identifier) @variable
|
||||||
|
; }}}
|
||||||
|
|
||||||
; vim: sw=2 foldmethod=marker
|
; vim: sw=2 foldmethod=marker
|
||||||
|
|
3
test/highlight/identifiers.bp
Normal file
3
test/highlight/identifiers.bp
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
foo = bar + "baz"
|
||||||
|
// <- variable
|
||||||
|
// ^ variable
|
Loading…
Reference in a new issue