| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor: Remove all `(ERROR) @error` captures | Pham Huy Hoang | 2023-10-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries. | ||||
| * | refactor: replace some match & vim-match usages | ObserverOfTime | 2023-08-23 | 1 | -3/+3 |
| | | |||||
| * | fix(directive): make downcase work on captures | Christian Clason | 2023-08-12 | 1 | -2/+1 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -5/+8 |
| | | | | | | | | | | Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc | ||||
| * | queries/*/highlights.scm : remove `@spell` for strings | ShellCode33 | 2023-08-07 | 1 | -2/+0 |
| | | |||||
| * | fix(ruby): bare_symbol should be @symbol | Serhii Budnik | 2023-04-17 | 1 | -1/+1 |
| | | |||||
| * | fix(ruby): then blocks should not be `@conditional`, just "then" | Trey Wood | 2023-03-31 | 1 | -6/+1 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -4/+4 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -3/+20 |
| | | |||||
| * | refactor(ruby): move keywords appropriately | Amaan Qureshi | 2023-03-03 | 1 | -6/+21 |
| | | |||||
| * | Update indents.scm | Cameron | 2023-01-09 | 1 | -2/+1 |
| | | |||||
| * | Update indents for Ruby | Cameron | 2023-01-06 | 1 | -0/+2 |
| | | | | Add `rescue` and `ensure` as a @branch captures for ruby | ||||
| * | injections: add more regex injections | ObserverOfTime | 2022-11-27 | 1 | -0/+2 |
| | | |||||
| * | highlights(ruby): fix captures | ObserverOfTime | 2022-11-26 | 1 | -4/+5 |
| | | |||||
| * | Add global variable highlighting | Cameron | 2022-09-10 | 1 | -0/+1 |
| | | |||||
| * | feat(spell): upstream spell queries from spellsitter | Lewis Russell | 2022-09-06 | 1 | -0/+2 |
| | | |||||
| * | fix(ruby): indent of brackets & parens | Zheng Piaodan | 2022-08-13 | 1 | -2/+0 |
| | | |||||
| * | fix(ruby): indent parenthesized_statements | Zheng Piaodan | 2022-08-13 | 1 | -0/+1 |
| | | |||||
| * | Split func/method definition from calls in several programming language queries | lfenzo | 2022-08-03 | 1 | -1/+1 |
| | | |||||
| * | fix: add more indentations for ruby (#3139) | Eric Zheng (PiaoDan) | 2022-07-09 | 1 | -0/+2 |
| | | |||||
| * | Update highlights.scm | Cameron | 2022-06-24 | 1 | -0/+2 |
| | | | | | | | Adds `undef` and `redo` keywords. https://docs.ruby-lang.org/en/2.4.0/syntax/miscellaneous_rdoc.html#label-undef https://docs.ruby-lang.org/en/2.4.0/syntax/control_expressions_rdoc.html#label-redo+Statement | ||||
| * | Add more indentations | Nick Pezza | 2022-03-12 | 1 | -0/+5 |
| | | |||||
| * | Dedent on end in ruby files | Nick Pezza | 2022-03-12 | 1 | -0/+7 |
| | | | | | Fixes #2554 | ||||
| * | Update queries | Santos Gallegos | 2021-12-22 | 1 | -3/+2 |
| | | | | | | - Don't use the old form for predicates - Update some invalid queries | ||||
| * | Add Operators for Ruby | Cameron | 2021-11-11 | 1 | -5/+38 |
| | | | | | | | | Many operators were missing from ruby, so, I added them. Additionally, with string interpolation (`"#{xxx}"`), the closing `}` was being matched to `punctuation.bracket` instead of `punctuation.special`, so I fixed that too. I didn't see any further details about how to contribute, so if I've overlooked anything, I'll be happy to add it. | ||||
| * | Fix instance and singleton method locals for Ruby | Yorick Peterse | 2021-08-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Ruby singleton methods (`def x.y ... end`) weren't covered in the list of locals. In addition, instance methods didn't support names that are capitalised (`def Integer ... end`). This commit ensures that both instance and singleton methods are supported, and that both support identifiers and constants as their names. This ensures that all following examples are covered: def foo; end def FOO; end def self.bar; end def self.BAR; end | ||||
| * | feat(keywords) merge return and yield into keyword.return group | antonk52 | 2021-07-04 | 1 | -4/+1 |
| | | |||||
| * | feat(keywords) add keyword.return & keyword.yield | antonk52 | 2021-07-04 | 1 | -2/+8 |
| | | |||||
| * | downcase! directive to use with ruby injections | derekstride | 2021-06-04 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | ``` (#downcase! "language") ``` downcase! will ensure the metadata value for the specified key will be downcased. If the value is a node, it will downcase the text specified by the node. ``` (#downcase! @node "key") ``` You can also namespace the key with a specific capture, similar to how you can call `(#set! @node "key" "value")` | ||||
| * | Revert "Comment: use `@combined` to create just one tree per buffer (#1252)" | Santos Gallegos | 2021-05-07 | 1 | -1/+1 |
| | | | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b. | ||||
| * | Comment: use `@combined` to create just one tree per buffer (#1252) | Santos Gallegos | 2021-04-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc | ||||
| * | Indent Ruby singleton classes | Imobach González Sosa | 2021-04-17 | 1 | -0/+1 |
| | | |||||
| * | folds support and somewhat better indents for ruby | Ivo Dancet | 2021-03-15 | 2 | -0/+26 |
| | | |||||
| * | Add comment parser to highlight comment tags (#893) | Santos Gallegos | 2021-03-12 | 1 | -0/+1 |
| | | | | Closes #236 | ||||
| * | [highlights] Add TSSymbol highlight group | Dennis B | 2021-03-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Addresses issue #892 Ruby and Dart literal symbols will now be highlighted by the new TSSymbol highlight group, which itself will, by default, link to the Vim Identifier highlight group. Vim theme authors can then set their TSSymbol colors. Symbol highlighting can apply to a number of languages as noted in the following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming) Not just for Ruby and Dart. | ||||
| * | feat: use @ignore for comments and multiline strings | elianiva | 2021-03-01 | 1 | -0/+2 |
| | | |||||
| * | Ruby constants highlighted as Type | Kassio Borges | 2021-02-22 | 1 | -5/+5 |
| | | | | | | | | In ruby constants and types are usually highlighted the sameway. Based on vim-ruby highlight. https://github.com/vim-ruby/vim-ruby/blob/master/syntax/ruby.vim#L502 | ||||
| * | Highlight ruby symbols as @property | Jeffrey Chupp | 2021-01-25 | 1 | -1/+4 |
| | | | | Distinguish from @constant. Closes #874 | ||||
| * | Ruby highlights: symbol -> simple_symbol, hash_key_symbol, delimited_symbol | Stephan Seitz | 2021-01-21 | 1 | -2/+4 |
| | | | | | Account for https://github.com/tree-sitter/tree-sitter-ruby/pull/152 | ||||
| * | feat: added more indent queries | elianiva | 2021-01-14 | 1 | -0/+12 |
| | | |||||
| * | Remove usages of `@embedded` in highlights | Stephan Seitz | 2021-01-06 | 1 | -4/+0 |
| | | |||||
| * | Add more ruby built-in constants | Kassio Borges | 2020-12-18 | 1 | -1/+1 |
| | | |||||
| * | Ruby highlights: Unify call and method_call (follow tree-sitter-ruby) | Stephan Seitz | 2020-12-16 | 1 | -12/+3 |
| | | |||||
| * | Add some ruby exception keywords | Kassio Borges | 2020-12-05 | 1 | -0/+8 |
| | | |||||
| * | 💣 !! Use TSUpdate !! Fix ruby queries | Stephan Seitz | 2020-11-03 | 2 | -9/+4 |
| | | |||||
| * | Ruby highlights: reset highlight on interpolation | Stephan Seitz | 2020-10-12 | 1 | -0/+3 |
| | | | | | @TravonteD | ||||
| * | Highlight top-level 'require' as TSInclude (fix #463) | Dennis B | 2020-09-23 | 1 | -3/+5 |
| | | | | | | | | Same for 'require_relative' & 'load' code importation mechanisms. Note, method calls of 'require' (as in Rails strong-params) will be still be highlighted as Method/Function. | ||||
| * | Add @keyword.operator for operators that are English words and add ↵ | Stephan Seitz | 2020-09-19 | 1 | -3/+6 |
| | | | | | @exception for Java/JS | ||||
| * | move the generic "constant" capture to the top | TravonteD | 2020-09-18 | 1 | -4/+4 |
| | | |||||
| * | update require statements to use TSInclude | TravonteD | 2020-09-16 | 1 | -2/+2 |
| | | |||||
