aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed a bug where Java enum body indentation was not correctDaniel Woznicki2022-02-251-0/+2
| | | | Added test for Java enum indentation
* Added fix for incorrect Java indentation after a closing "}" in a method ↵Daniel Woznicki2022-02-251-0/+5
| | | | | | declaration Added tests for Java indentation, including one for issue 2571
* feat(java)(highlights): add missing highlights for `@type`captainko2022-01-181-0/+6
|
* highlights/injections/indents(java): comment -> line_comment,block_commentStephan Seitz2022-01-163-3/+6
| | | | Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
* Update queriesSantos Gallegos2021-12-221-3/+2
| | | | | - Don't use the old form for predicates - Update some invalid queries
* Prefer lua-match over matchLewis Russell2021-11-231-3/+3
| | | | as string.find is much quicker than vim.regex:match*
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-4/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-2/+8
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-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
* highlights(java): add new keyword "yield"Stephan Seitz2021-04-171-0/+1
| | | | | https://github.com/tree-sitter/tree-sitter-java/pull/78 added support for enhanced switch statements
* Add support for Java recordsStephan Seitz2021-04-102-0/+7
| | | | Ref: https://github.com/tree-sitter/tree-sitter-java/pull/73
* highlights(java): Highlight fields (members and member access) (#1107)Stephan Seitz2021-03-261-0/+8
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+1
| | | Closes #236
* feat: use @ignore for comments and multiline stringselianiva2021-03-011-0/+2
|
* add formal_parameters elianiva2021-02-211-0/+1
| | | | | as suggested by p00f Co-authored-by: Chinmay Dalal <chinmay.dalal.22012001@gmail.com>
* feat: add java indentelianiva2021-02-211-0/+19
|
* highlights(java): Highlight spread parametersStephan Seitz2021-02-191-1/+5
|
* highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)Stephan Seitz2021-02-191-1/+1
|
* TernaryChinmay Dalal2020-11-191-1/+2
|
* chore(java): remove duplicate lineStephan Seitz2020-09-191-1/+0
|
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-191-6/+14
| | | | @exception for Java/JS
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-141-2/+5
|
* ci: fix wrong queriesThomas Vigouroux2020-09-111-3/+2
|
* fix(queries): use vim-match for non lua regexesSteven Sojka2020-08-161-1/+1
|
* [java] Add label highlightChinmay Dalal2020-08-161-0/+4
|
* fix(java): add lambdas as a scopeSteven Sojka2020-08-121-2/+6
|
* Java locals: use has-ancestor? to match importsStephan Seitz2020-07-271-9/+3
|
* Java highlights/locals: Add catch_formal_parameterStephan Seitz2020-07-272-0/+4
|
* Java highlights: Add highlight for thisStephan Seitz2020-07-272-3/+10
|
* Add Java localsChinmay Dalal2020-07-271-6/+65
| | | | Co-authored: @PitcherTear22
* Java highlights: Add binary integer literalsStephan Seitz2020-07-011-0/+1
|
* Java highlights: Add operators ":" "?"Stephan Seitz2020-06-301-0/+2
|
* Java highlights: Add parameter highlight for single-parameter lambdasStephan Seitz2020-06-301-1/+4
|
* Add method reference operatorChinmay Dalal2020-06-291-0/+1
|
* Java highlights: Capture parameters in declaration (#93)Chinmay Dalal2020-06-291-31/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Capture parameters in declaration * Refactor (new syntax) * Fix spaces * Fix capture (java method parameters) * Improve java parameter capture * Fix bracket and whitespace * Fix java query * Fix java query Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> * Add capture for lambda parameters, remove redundant captures, add -> operator * Previous commit wasn't saved properly * Fix formatting * Changes suggested in PR https://github.com/nvim-treesitter/nvim-treesitter/pull/93#pullrequestreview-435630553 * Add bitwise operators * Re-add builtin operators * remove left shift, add ^= * Add &= and |= * remove @variable * Remove duplicate Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
* Give creditsChinmay Dalal2020-06-171-0/+2
|
* Give creditsChinmay Dalal2020-06-171-0/+2
|
* Fix typesChinmay Dalal2020-06-151-3/+3
|
* Add operatorsChinmay2020-06-151-1/+27
|
* Fix method highlightingChinmay2020-06-151-2/+2
|
* Add highlights.scm and locals.scmChinmay2020-06-112-0/+154