diff options
| author | Kassio Borges <kassioborgesm@gmail.com> | 2020-12-18 14:48:41 +0000 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-12-18 17:10:14 +0100 |
| commit | a5f2970d7af947c066fb65aef2220335008242b7 (patch) | |
| tree | f1f4f39156dc6ccdd69528bab2bed3d37d384362 /queries/ruby | |
| parent | Update indents.scm (diff) | |
| download | nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar.gz nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar.bz2 nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar.lz nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar.xz nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.tar.zst nvim-treesitter-a5f2970d7af947c066fb65aef2220335008242b7.zip | |
Add more ruby built-in constants
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 42535f5d9..2fef97aa8 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -101,7 +101,7 @@ ] @label ((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 (#vim-match? @constant.macro "^[A-Z\\d_]+$")) |
