diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2022-10-02 13:20:18 +0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-10-15 08:12:55 -0700 |
| commit | b945aa0aab03d4817a42cbcb27059217d8e56ed8 (patch) | |
| tree | b87e68b5712bdac9af0a510061ff2c7e42d6b759 | |
| parent | 90c44df8cb9fcdd277694615f79f8e5e276c46ba (diff) | |
highlights(c): highlight standard streams
| -rw-r--r-- | queries/c/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm index e8e4d43a..856705c7 100644 --- a/queries/c/highlights.scm +++ b/queries/c/highlights.scm @@ -148,6 +148,9 @@ (case_statement value: (identifier) @constant) +((identifier) @constant.builtin + (#any-of? @constant.builtin "stderr" "stdin" "stdout")) + ;; Preproc def / undef (preproc_def name: (_) @constant) |
