Uy Ha
|
d6c7996412
|
[cmake] add highlights for add_custom_target and add_custom_command
|
2021-09-10 21:11:38 +02:00 |
|
Uy Ha
|
25956f4274
|
[cmake] Add highlighting for boolean values (#1801)
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
|
2021-09-10 11:42:23 -05:00 |
|
Uy Ha
|
e31bba5d97
|
[cmake] add highlights for if command constant
|
2021-09-10 17:01:54 +02:00 |
|
Uy Ha
|
16f4833b57
|
[cmake]: Add highlighting for set command
|
2021-09-09 22:57:22 +02:00 |
|
Uy Ha
|
a267604b8f
|
Highlight function and macro declarations
|
2021-09-08 23:02:00 +02:00 |
|
Uy Ha
|
895706d081
|
Bind variable as @variable instead of variable_ref
|
2021-09-08 02:16:49 +02:00 |
|
Uy Ha
|
6fdbc7055d
|
Bind function and macro commands as @keyword.function
|
2021-09-08 02:16:49 +02:00 |
|
Uy Ha
|
39526996ba
|
Bind variable_ref as @variable instead of @none
|
2021-09-08 02:16:49 +02:00 |
|
Uy Ha
|
2815b6a033
|
[cmake] Add support for generator expression
|
2021-07-06 20:13:28 +02:00 |
|
Uy Ha
|
fbbfa3bda0
|
Move macro to @function.macro capture
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
a8a7200241
|
Change captures:
- Disable highlight for `variable_ref`
- Capture `ENV` and `CACHE` as `@symbol`
- Capture '$', '{', '}', '(', ')' as punctuation
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
c214c7c563
|
Remove query for specific keywords for now
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
e121e52b2d
|
Add comment parsing and highlight whole bracket argument
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
6a2ce27949
|
Fix wrong name:
- `fold.scm` -> `folds.scm`
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
b090c94a7a
|
Capture variable_ref instead of variable for @variable
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
d1a5d827ae
|
Change @parameter capture to @string
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
0a2828a04c
|
Move keywords to their appropriate capture:
- Unary and binary operator to `@keyword.operator`
- Boolean constants to `@boolean`
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
4ab1647f20
|
Highlight only command name instead of the whole call
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
4bc6b7c85a
|
Remove non-foldable commands (incorrect copy and paste)
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
485cedeed6
|
Add fold.scm
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
90cddb0112
|
Refine highlights.scm:
- Match repeat, conditional, etc. to their corresponding commands
- Clean up `@parameter` match
- Add `$ENV` and `$CACHE` to queries
|
2021-07-02 08:37:02 +02:00 |
|
Uy Ha
|
df024e233a
|
Add highlights.scm
|
2021-07-02 08:37:02 +02:00 |
|