mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
Add more ruby built-in constants
This commit is contained in:
parent
01baa52899
commit
a5f2970d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@
|
||||||
] @label
|
] @label
|
||||||
|
|
||||||
((identifier) @constant.builtin
|
((identifier) @constant.builtin
|
||||||
(#vim-match? @constant.builtin "^__(FILE|LINE|ENCODING)__$"))
|
(#vim-match? @constant.builtin "^__(callee|dir|id|method|send|ENCODING|FILE|LINE)__$"))
|
||||||
|
|
||||||
((constant) @constant.macro
|
((constant) @constant.macro
|
||||||
(#vim-match? @constant.macro "^[A-Z\\d_]+$"))
|
(#vim-match? @constant.macro "^[A-Z\\d_]+$"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue