summaryrefslogtreecommitdiff
path: root/queries/java
AgeCommit message (Collapse)Author
2022-09-26feat(spell): support more languagesLewis Russell
2022-08-23highlights(java): add "non-sealed" keywordStephan Seitz
2022-08-22Modified queries/java/highlights.scmanthony-S93
2022-08-03Split func/method definition from calls in several programming language querieslfenzo
2022-04-16highlights(java): add support for `text_block`sStephan Seitz
2022-04-04Fixed incorrect Java indentation for method chainingDaniel Woznicki
2022-03-01Made block comment indent @auto so that new lines line up nicely with ↵Daniel Woznicki
existing comment block Previous indentation: /** * */ New indentation: /** * */
2022-03-01Added catchall (ERROR) @auto rule for Java to at least attempt something ↵Daniel Woznicki
reasonable when the tree is in a broken state
2022-03-01Modified Java indent rules to stop ignoring block comments because javadoc ↵Daniel Woznicki
blocks were defaulting to indent 0
2022-03-01Added fix for Java interfaces not being indented properlyDaniel Woznicki
2022-02-25Fixed a bug where indentation was not correct for class/enum bodies that had ↵Daniel Woznicki
an annotation
2022-02-25Fixed a bug where Java enum body indentation was not correctDaniel Woznicki
Added test for Java enum indentation
2022-02-25Added fix for incorrect Java indentation after a closing "}" in a method ↵Daniel Woznicki
declaration Added tests for Java indentation, including one for issue 2571
2022-01-18feat(java)(highlights): add missing highlights for `@type`captainko
2022-01-16highlights/injections/indents(java): comment -> line_comment,block_commentStephan Seitz
Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
2021-12-22Update queriesSantos Gallegos
- Don't use the old form for predicates - Update some invalid queries
2021-11-23Prefer lua-match over matchLewis Russell
as string.find is much quicker than vim.regex:match*
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-05-07Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
2021-04-28Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos
* 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
2021-04-17highlights(java): add new keyword "yield"Stephan Seitz
https://github.com/tree-sitter/tree-sitter-java/pull/78 added support for enhanced switch statements
2021-04-10Add support for Java recordsStephan Seitz
Ref: https://github.com/tree-sitter/tree-sitter-java/pull/73
2021-03-26highlights(java): Highlight fields (members and member access) (#1107)Stephan Seitz
2021-03-12Add comment parser to highlight comment tags (#893)Santos Gallegos
Closes #236
2021-03-01feat: use @ignore for comments and multiline stringselianiva
2021-02-21add formal_parameters elianiva
as suggested by p00f Co-authored-by: Chinmay Dalal <chinmay.dalal.22012001@gmail.com>
2021-02-21feat: add java indentelianiva
2021-02-19highlights(java): Highlight spread parametersStephan Seitz
2021-02-19highlights(java): fix constant highlighting (only UPPERCASE_LETTERS)Stephan Seitz
2020-11-19TernaryChinmay Dalal
2020-09-19chore(java): remove duplicate lineStephan Seitz
2020-09-19Add @keyword.operator for operators that are English words and add ↵Stephan Seitz
@exception for Java/JS
2020-09-14Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz
2020-09-11ci: fix wrong queriesThomas Vigouroux
2020-08-16fix(queries): use vim-match for non lua regexesSteven Sojka
2020-08-16[java] Add label highlightChinmay Dalal
2020-08-12fix(java): add lambdas as a scopeSteven Sojka
2020-07-27Java locals: use has-ancestor? to match importsStephan Seitz
2020-07-27Java highlights/locals: Add catch_formal_parameterStephan Seitz
2020-07-27Java highlights: Add highlight for thisStephan Seitz
2020-07-27Add Java localsChinmay Dalal
Co-authored: @PitcherTear22
2020-07-01Java highlights: Add binary integer literalsStephan Seitz
2020-06-30Java highlights: Add operators ":" "?"Stephan Seitz
2020-06-30Java highlights: Add parameter highlight for single-parameter lambdasStephan Seitz
2020-06-29Add method reference operatorChinmay Dalal
2020-06-29Java highlights: Capture parameters in declaration (#93)Chinmay Dalal
* 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>
2020-06-17Give creditsChinmay Dalal
2020-06-17Give creditsChinmay Dalal
2020-06-15Fix typesChinmay Dalal