mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -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
|
||||
value: (identifier) @constant)
|
||||
|
||||
((identifier) @constant.builtin
|
||||
(#any-of? @constant.builtin "stderr" "stdin" "stdout"))
|
||||
|
||||
;; Preproc def / undef
|
||||
(preproc_def
|
||||
name: (_) @constant)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue