mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
highlights(c): highlight standard streams
This commit is contained in:
parent
90c44df8cb
commit
b945aa0aab
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@
|
||||||
(case_statement
|
(case_statement
|
||||||
value: (identifier) @constant)
|
value: (identifier) @constant)
|
||||||
|
|
||||||
|
((identifier) @constant.builtin
|
||||||
|
(#any-of? @constant.builtin "stderr" "stdin" "stdout"))
|
||||||
|
|
||||||
;; Preproc def / undef
|
;; Preproc def / undef
|
||||||
(preproc_def
|
(preproc_def
|
||||||
name: (_) @constant)
|
name: (_) @constant)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue