diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2024-01-09 11:50:31 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 2f38c36294fde19a901b17589b153898b8a075e5 (patch) | |
| tree | 47baae4afe1df66f7c2183a25807fd63bca50ac2 /queries/ruby | |
| parent | feat(git_config): add missing injections (diff) | |
| download | nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.gz nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.bz2 nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.lz nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.xz nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.tar.zst nvim-treesitter-2f38c36294fde19a901b17589b153898b8a075e5.zip | |
fix(highlights): improve consistency
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index 6b8bb591c..8116a503e 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -125,7 +125,7 @@ ] @label ((identifier) @constant.builtin - (#match? @constant.builtin "^__(callee|dir|id|method|send|ENCODING|FILE|LINE)__$")) + (#any-of? @constant.builtin "__callee__" "__dir__" "__id__" "__method__" "__send__" "__ENCODING__" "__FILE__" "__LINE__")) ((constant) @type (#not-lua-match? @type "^[A-Z0-9_]+$")) |
