mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 19:37:54 +03:00
VSCode Dark+ Theme (#414)
* wip * Add VSCode Dark+ Theme wip wip wip wip wip wip properly detect constants add bool wip * suggestion * add variant for c/c++ * fix hexcode error * removed regex highlight * fixed constant higlighting * wip * add space * add suggestions * update theme * update book * suggestions * fix c/c++ enum * update book
This commit is contained in:
parent
1c71fced0e
commit
c7aa7bf4ba
4 changed files with 84 additions and 1 deletions
|
@ -3,9 +3,10 @@
|
|||
|
||||
; Assume all-caps names are constants
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z][A-Z\\d_]+$'"))
|
||||
(#match? @constant "^[A-Z][A-Z\\d_]+$"))
|
||||
|
||||
; Assume other uppercase names are enum constructors
|
||||
(enum_variant) @type.enum.variant
|
||||
((identifier) @constructor
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue