aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-31/+0
|
* feat(javadoc): add parser and queries (#7749)Robert Muir2025-03-231-11/+4
| | | | | | | | | Previously java was configured to use doxygen parser for documentation comments, but javadocs are not doxygen. Inline tags have a different syntax, block tags are not recognized, and doxygen creates a lot of errors during highlighting. Add parser for javadoc comments, with queries for highlights and injections.
* feat(java): add injections for markdown documentation commentsRobert Muir2025-02-201-0/+12
| | | | | | Since Java 23, java documentation supports markdown. It is supported by a '///' line comment followed by mandatory white space: https://openjdk.org/jeps/467
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-8/+6
|
* feat(java): inject printf in String.formatted (#6045)Ilia Ilinykh2024-02-021-0/+8
| | | https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#formatted(java.lang.Object...)
* chore: query formattingPham Huy Hoang2024-01-191-6/+10
|
* feat(injections): add printf format stringsObserverOfTime2024-01-191-0/+7
|
* feat: add DoxygenAmaan Qureshi2023-08-261-0/+4
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-121-2/+3
| | | | | | | | | 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
* feat(java): distinguish escape sequences, move certain keywords to more ↵Amaan Qureshi2023-02-231-1/+4
| | | | appropriate places
* highlights/injections/indents(java): comment -> line_comment,block_commentStephan Seitz2022-01-161-1/+1
| | | | Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
* 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
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+1
Closes #236