| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -509/+0 |
| | | |||||
| * | feat(javadoc): add parser and queries (#7749) | Robert Muir | 2025-03-23 | 1 | -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 comments | Robert Muir | 2025-02-20 | 1 | -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 | ||||
| * | bot(lockfile): update apex, editorconfig, elixir, ledger, markdown, ↵ | nvim-treesitter-bot[bot] | 2024-12-02 | 1 | -3/+0 |
| | | | | | markdown_inline, sflog, soql, sosl, styled, swift, xresources | ||||
| * | feat(highlights): capture wildcard patterns as `@character.special` (#7153) | Omar Valdez | 2024-09-20 | 1 | -0/+2 |
| | | |||||
| * | feat(highlights): capture wildcard imports as `@character.special` | Omar Valdez | 2024-08-01 | 1 | -0/+4 |
| | | |||||
| * | fix(java): compact constructor highlights (#6531) | Brayden Zee | 2024-05-02 | 1 | -0/+3 |
| | | |||||
| * | feat: import statement folds for common languages | Riley Bruins | 2024-05-01 | 1 | -0/+1 |
| | | |||||
| * | feat: more `@keyword.type` captures | Riley Bruins | 2024-05-01 | 1 | -4/+7 |
| | | |||||
| * | feat(java): add when operator (#6420) | Guilherme Soares | 2024-04-09 | 1 | -0/+1 |
| | | |||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 3 | -17/+12 |
| | | |||||
| * | feat(highlights)!: `@keyword.storage` → `@keyword.modifier` | Jaehwang Jung | 2024-03-16 | 1 | -1/+1 |
| | | |||||
| * | feat(highlights)!: keyword `@type.qualifier` → `@keyword.modifier` | Jaehwang Jung | 2024-03-16 | 1 | -2/+2 |
| | | |||||
| * | feat(java): inject printf in String.formatted (#6045) | Ilia Ilinykh | 2024-02-02 | 1 | -0/+8 |
| | | | | https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#formatted(java.lang.Object...) | ||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 4 | -69/+107 |
| | | |||||
| * | refactor: manual pre-cleanup | Pham Huy Hoang | 2024-01-19 | 2 | -0/+2 |
| | | | | | | Moving comments, adding `format-ignore` to lines that will be better with it | ||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md` | ||||
| * | feat(injections): add printf format strings | ObserverOfTime | 2024-01-19 | 1 | -0/+7 |
| | | |||||
| * | feat(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -34/+34 |
| | | |||||
| * | fix(java): move attributes after constants | ObserverOfTime | 2023-12-04 | 1 | -9/+9 |
| | | |||||
| * | feat(java): highlight `var` as `@type.builtin` | Ibrahim Delice | 2023-10-13 | 1 | -0/+2 |
| | | |||||
| * | fix(java): move @ to `@attribute` | Ibrahim Delice | 2023-10-13 | 1 | -1/+2 |
| | | |||||
| * | java(highlights): add missing import class pattern (#5483) | Pham Huy Hoang | 2023-10-06 | 1 | -2/+2 |
| | | |||||
| * | feat: add Doxygen | Amaan Qureshi | 2023-08-26 | 1 | -0/+4 |
| | | |||||
| * | feat(java): add highlights to string interpolation | Pham Huy Hoang | 2023-08-18 | 1 | -0/+2 |
| | | |||||
| * | chore(injections)!: update injection syntax to 0.9 | Pham Huy Hoang | 2023-08-12 | 1 | -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 | ||||
| * | java highlights: annotation type declaration and AT interface keyword | homedirectory | 2023-06-21 | 1 | -0/+3 |
| | | |||||
| * | feat: add indents for annotation defs (#4828) | Pham Huy Hoang | 2023-06-04 | 1 | -9/+14 |
| | | | | | - Add indent for `@interface` and `@Annotation(...)` - Add notes for indent queries | ||||
| * | feat(java): add more foldable nodes | Gregg Jansen van Vüren | 2023-05-11 | 1 | -0/+2 |
| | | |||||
| * | fix(java): capture type parameter brackets as `@punctuation.delimiter` | Iron-E | 2023-05-04 | 1 | -0/+3 |
| | | | | It is currently highlighted as `@operator` | ||||
| * | feat(java): add basic folding (#4701) | Pham Huy Hoang | 2023-04-24 | 1 | -0/+5 |
| | | |||||
| * | use indent.X syntax for captures and properties of set directives | George Harker | 2023-03-24 | 1 | -6/+7 |
| | | | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment | ||||
| * | fix: Java indent for multiple line arguments (#4449) | Daniel Woznicki | 2023-03-06 | 1 | -1/+0 |
| | | | | | | | | | | * fix Java indent for multiple line arguments, fixes #4448, add an additional test for methods with arguments on multiple lines * Satisfy StyLua check --------- Co-authored-by: Daniel Woznicki <danwoz@nettoolkit.com> | ||||
| * | feat: add `@comment.documentation` where applicable | Amaan Qureshi | 2023-03-05 | 1 | -0/+9 |
| | | |||||
| * | feat(java): some instances of definition.var should be definition.parameter | Amaan Qureshi | 2023-02-23 | 1 | -9/+21 |
| | | |||||
| * | feat(java): distinguish escape sequences, move certain keywords to more ↵ | Amaan Qureshi | 2023-02-23 | 3 | -131/+136 |
| | | | | | appropriate places | ||||
| * | highlights(java): fix '!',param,global group | Josef Litoš | 2022-12-19 | 1 | -2/+5 |
| | | |||||
| * | highlights: create subscoping for ternary operator | Stephan Seitz | 2022-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | After https://github.com/nvim-treesitter/nvim-treesitter/issues/470, we decided to use `@conditional` for ternary operator instead of operator despite `@conditional` is documented for keywords only. A sub-scoping can make it easier for people to highlight this operator group differently. Also unify the usage of `@conditional...` across languages. | ||||
| * | highlights(java): use more specific groups | ObserverOfTime | 2022-11-26 | 1 | -13/+24 |
| | | |||||
| * | feat(spell): support more languages | Lewis Russell | 2022-09-26 | 1 | -1/+1 |
| | | |||||
| * | highlights(java): add "non-sealed" keyword | Stephan Seitz | 2022-08-23 | 1 | -0/+1 |
| | | |||||
| * | Modified queries/java/highlights.scm | anthony-S93 | 2022-08-22 | 1 | -0/+2 |
| | | |||||
| * | Split func/method definition from calls in several programming language queries | lfenzo | 2022-08-03 | 1 | -1/+1 |
| | | |||||
| * | highlights(java): add support for `text_block`s | Stephan Seitz | 2022-04-16 | 1 | -1/+1 |
| | | |||||
| * | Fixed incorrect Java indentation for method chaining | Daniel Woznicki | 2022-04-04 | 1 | -1/+2 |
| | | |||||
| * | Made block comment indent @auto so that new lines line up nicely with ↵ | Daniel Woznicki | 2022-03-01 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | existing comment block Previous indentation: /** * */ New indentation: /** * */ | ||||
| * | Added catchall (ERROR) @auto rule for Java to at least attempt something ↵ | Daniel Woznicki | 2022-03-01 | 1 | -0/+2 |
| | | | | | reasonable when the tree is in a broken state | ||||
| * | Modified Java indent rules to stop ignoring block comments because javadoc ↵ | Daniel Woznicki | 2022-03-01 | 1 | -1/+1 |
| | | | | | blocks were defaulting to indent 0 | ||||
| * | Added fix for Java interfaces not being indented properly | Daniel Woznicki | 2022-03-01 | 1 | -0/+1 |
| | | |||||
| * | Fixed a bug where indentation was not correct for class/enum bodies that had ↵ | Daniel Woznicki | 2022-02-25 | 1 | -2/+0 |
| | | | | | an annotation | ||||
