diff options
| author | Trey Wood <treyw@squareup.com> | 2023-03-31 09:43:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-31 11:43:55 -0400 |
| commit | 2f3113ff6d554e3fe4da3610135c2f404f7aa270 (patch) | |
| tree | 683dac762a465c8ee4ba66aca724e004339ae590 /queries/ruby | |
| parent | highlights(sql): add `full`, `any` and `some` keywords (diff) | |
| download | nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar.gz nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar.bz2 nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar.lz nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar.xz nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.tar.zst nvim-treesitter-2f3113ff6d554e3fe4da3610135c2f404f7aa270.zip | |
fix(ruby): then blocks should not be `@conditional`, just "then"
Diffstat (limited to 'queries/ruby')
| -rw-r--r-- | queries/ruby/highlights.scm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index 9488297b4..3ef35205c 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -44,16 +44,11 @@ "if" "unless" "when" + "then" ] @conditional (if "end" @conditional) -(if - (then) @conditional) -(unless - (then) @conditional) -(elsif - (then) @conditional) [ "for" |
