| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | feat!: drop modules, general refactor and cleanup | Christian Clason | 2025-05-12 | 5 | -128/+0 |
| | | |||||
| * | refactor(format): drop extra indentation for field | Phạm Huy Hoàng | 2024-03-21 | 1 | -9/+7 |
| | | |||||
| * | feat(format): extra newline after modeline | Phạm Huy Hoàng | 2024-02-29 | 2 | -0/+2 |
| | | |||||
| * | chore: format queries | Phạm Huy Hoàng | 2024-01-21 | 1 | -2/+2 |
| | | |||||
| * | chore: query formatting | Pham Huy Hoang | 2024-01-19 | 2 | -23/+30 |
| | | |||||
| * | feat!: align standard captures with upstream | Christian Clason | 2024-01-19 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(locals)!: switch to upstream captures | Christian Clason | 2024-01-19 | 1 | -11/+11 |
| | | |||||
| * | feat(javascript): highlight parameter destructuring patterns | Ananda Umamil | 2023-07-01 | 1 | -0/+19 |
| | | |||||
| * | Expand locals to include properties and methods | William Mathewson | 2022-11-25 | 1 | -0/+30 |
| | | | | | | | | The previous locals were lacking a few locals related to JS classes. This expands the locals to include properties defined on classes (e.g. `this.foo = "bar"` or `static #targets`) as both vars & references, as well as private methods on classes (e.g. `#bar(x) { x }` and `#bar(y)`). | ||||
| * | highlights(javascript): "?." -> optional_chain | GitHub | 2022-08-20 | 1 | -0/+3 |
| | | |||||
| * | locals(js,ts): Add parameters again (#1231) | Stephan Seitz | 2021-04-28 | 1 | -0/+32 |
| | | |||||
| * | Add JS/TS parameters again (#1227) | Stephan Seitz | 2021-04-23 | 1 | -0/+32 |
| | | | | | | * highlights(js): add parameters * highlights(ts): add Typescript parameters | ||||
| * | chore: create ecma base for use in js and ts which fixes jsx issues | kiyan | 2021-03-10 | 5 | -407/+5 |
| | | |||||
| * | feat: use @ignore for comments and multiline strings | elianiva | 2021-03-01 | 1 | -0/+5 |
| | | |||||
| * | Support the glimmer parser when the `hbs` template literal tag is used | NullVoxPopuli | 2021-03-01 | 1 | -0/+6 |
| | | |||||
| * | feat(javascript): add template string language injection | Steven Sojka | 2021-02-11 | 1 | -3/+9 |
| | | |||||
| * | feat(javascript): move shorthand prop to property | Steven Sojka | 2021-01-26 | 1 | -5/+3 |
| | | |||||
| * | fix: js indent for object inside arguments | elianiva | 2021-01-20 | 1 | -0/+1 |
| | | |||||
| * | feat: added more indent queries | elianiva | 2021-01-14 | 1 | -0/+26 |
| | | |||||
| * | feat(js): add regex injections (#834) | Steven Sojka | 2021-01-07 | 1 | -0/+2 |
| | | |||||
| * | Remove usages of `@embedded` in highlights | Stephan Seitz | 2021-01-06 | 1 | -1/+1 |
| | | |||||
| * | Add lacked Javascript operators | delphinus | 2020-12-21 | 1 | -0/+16 |
| | | |||||
| * | Javascript unary expression (#712) | Dave Lage | 2020-12-12 | 1 | -0/+1 |
| | | | | | | | | | | * javascript: Move unary_expression matching. * javascript: Move unary_expression matching. * javascript: Update unary to operator * javascript: Update qnary to be more specific | ||||
| * | graphql: add injection to javascript and add comment query | Luis Carlos Cruz Carballo | 2020-11-29 | 1 | -0/+5 |
| | | |||||
| * | javascript: Mark shorthand_property_identifier as variable | rockerBOO | 2020-11-27 | 1 | -0/+1 |
| | | |||||
| * | javascript: Add operator to / for division (#689) | Dave Lage | 2020-11-25 | 1 | -0/+1 |
| | | |||||
| * | fix(injections): update to new API | Thomas Vigouroux | 2020-11-23 | 1 | -2/+1 |
| | | |||||
| * | javascript: : in pairs as punctuation.delimiter (#684) | Dave Lage | 2020-11-23 | 1 | -0/+2 |
| | | | | | | | | | | * javascript: : in pairs as punctuation.delimiter * javascript: Change pair : to operator * javascript: Set pair : as punctuation.delimiter * javacscript: Move pair : to punctuation | ||||
| * | typescript: Add optional_parameter ? | rockerBOO | 2020-11-22 | 1 | -0/+1 |
| | | |||||
| * | Javascript highlights: "..." -> punctuation.special | Stephan Seitz | 2020-11-09 | 1 | -0/+1 |
| | | |||||
| * | JS highlights: highlight optional parameters | Stephan Seitz | 2020-11-09 | 1 | -0/+5 |
| | | |||||
| * | feat(js): add jsdoc lang injection | Steven Sojka | 2020-10-27 | 1 | -0/+2 |
| | | |||||
| * | Merge pull request #585 from fffed/patch-1 | Steven Sojka | 2020-10-27 | 1 | -0/+21 |
| |\ | | | | | js: add query for @parameter | ||||
| | * | update comment case for simplefied notation | fffed | 2020-10-27 | 1 | -1/+1 |
| | | | |||||
| | * | add destructuring variations | fffed | 2020-10-27 | 1 | -0/+17 |
| | | | |||||
| | * | remove destructuring from @parameter | fffed | 2020-10-16 | 1 | -4/+0 |
| | | | |||||
| | * | Add additional queries for @parameter for js | fffed | 2020-10-15 | 1 | -0/+8 |
| | | | |||||
| * | | fix(javascript): fix constant variable highlight | Joosep Alviste | 2020-10-23 | 1 | -3/+3 |
| | | | | | | | | | | | | | The `@constant` query gets overwritten by the `@constructor` query. They both query for variables starting with an uppercase letter, but the `@constant` query took effect first. | ||||
| * | | feat(folds): add catch_clause to js folds | Sam Bernheim | 2020-10-16 | 1 | -0/+1 |
| | | | |||||
| * | | feat: add more javascript folds | sbernehim4 | 2020-10-16 | 1 | -0/+3 |
| |/ | |||||
| * | feat(queries): modeline mechanism for base langs | Thomas Vigouroux | 2020-10-11 | 3 | -0/+4 |
| | | | | | | | | | This implements https://github.com/neovim/neovim/pull/13059#issuecomment-704414189 This behaves like modelines and remove the use of the base_language map. Also, this allows to fine-tune what we actually want to include per query, which is better IMO. | ||||
| * | fix(highlights): Add TSNamespace highlight | Stephan Seitz | 2020-10-10 | 1 | -0/+5 |
| | | | | | | | | | | Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516 | ||||
| * | Remove textobjects module | Stephan Seitz | 2020-10-04 | 1 | -36/+0 |
| | | |||||
| * | Add @keyword.operator for operators that are English words and add ↵ | Stephan Seitz | 2020-09-19 | 1 | -6/+12 |
| | | | | | @exception for Java/JS | ||||
| * | Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages | Stephan Seitz | 2020-09-14 | 1 | -0/+4 |
| | | |||||
| * | Folds: rename query files to folds.scm to be consistent | Santos Gallegos | 2020-09-14 | 1 | -0/+0 |
| | | | | | We use plural names for all query files except folds. | ||||
| * | fix(highlights): add missing js operators | Steven Sojka | 2020-09-10 | 1 | -17/+30 |
| | | |||||
| * | fix using highlight query extension for every query type | kyazdani42 | 2020-09-07 | 1 | -12/+0 |
| | | |||||
| * | feat(folds): add ts and js folds | Steven Sojka | 2020-09-06 | 1 | -0/+15 |
| | | |||||
| * | fix(locals): js add arrow function parameter as definition | Steven Sojka | 2020-09-02 | 1 | -0/+4 |
| | | |||||
