aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* test(queries): print ALL errors at endChristian Clason2024-01-191-12/+9
|
* feat!: align standard captures with upstreamChristian Clason2024-01-19263-2322/+2341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`
* chore(tests): consistent capturesChristian Clason2024-01-1960-873/+872
|
* feat(injections): add printf format stringsObserverOfTime2024-01-1913-0/+181
|
* feat(locals)!: switch to upstream capturesChristian Clason2024-01-19109-1341/+1341
|
* revert "fix(config)!: always install parsers bundled with nvim"v0.9.2Christian Clason2024-01-191-17/+2
|
* Update parsers: scala, wingGitHub2024-01-191-2/+2
|
* fixup: proper union of tablesChristian Clason2024-01-181-1/+13
|
* Update parsers: gitcommit, markdown, markdown_inline, vimdoc, wingGitHub2024-01-181-5/+5
|
* fixup: empty ensure_installedChristian Clason2024-01-171-1/+1
|
* fixup: don't extend _with_ 'all'Christian Clason2024-01-171-1/+1
|
* Update parsers: gleam, gomod, wingGitHub2024-01-171-3/+3
|
* fixup: ensure_installed can be 'all'Christian Clason2024-01-161-1/+3
|
* fix(config)!: always install parsers bundled with nvimChristian Clason2024-01-161-1/+2
|
* Update parsers: perl, todotxtGitHub2024-01-161-2/+2
|
* feat!: bump minimum Nvim version to 0.9.2Christian Clason2024-01-152-3/+3
| | | | required for empty injection fix
* fix: link type in pattern matching correctlyBartek Łuka2024-01-151-0/+3
|
* Update parsers: awkGitHub2024-01-151-1/+1
|
* Update parsers: erlang, php, templ, wingGitHub2024-01-141-4/+4
|
* Update parsers: templ, tlaplusGitHub2024-01-071-2/+2
|
* fix(php): adjust to parser refactorChristian Clason2024-01-072-1/+2
|
* Update parsers: ada, rubyGitHub2024-01-061-2/+2
|
* highlights(html): character references (a.k.a. entities)Calum Smith2024-01-051-0/+2
|
* ci: bump actions to latestChristian Clason2024-01-056-9/+9
|
* Update parsers: astro, php, ruby, templ, wingGitHub2024-01-051-5/+5
|
* fix(markdown_inline): latex highlight injection (#5397)Zhuofeng Wang2024-01-051-1/+2
| | | | The `injection.include-children` is needed in markdown_inline parser.
* fix(latex): highlight text functionsRiley Bruins2024-01-041-0/+1
|
* Update parsers: ada, ocaml, ocaml_interface, sql, wingGitHub2024-01-031-5/+5
|
* Update parsers: scala, templ, v, wingGitHub2024-01-031-4/+4
|
* fix(julia): add missing capture of ":" in selected importChristian Degnbol Madsen2024-01-021-0/+2
| | | | If writing a selected import, e.g. `using BSON: @load`, the colon isn't currently captured. This change captures it as `@punctuation.delimiter`.
* Update parsers: nim, templ, wingGitHub2023-12-301-3/+3
|
* Update parsers: perl, rst, v, wingGitHub2023-12-291-4/+4
|
* Update parsers: perl, scala, wingGitHub2023-12-281-3/+3
|
* Update parsers: nickel, nix, scala, v, wingGitHub2023-12-271-5/+5
|
* Update parsers: haskell, templGitHub2023-12-241-2/+2
|
* fixup(luau): align `@string.regex` to the injections (#5829)Riley Bruins2023-12-241-15/+3
|
* fix: cleanup luap injection queriesRiley Bruins2023-12-232-41/+5
|
* feat: more `@string.regex` highlightsRiley Bruins2023-12-233-0/+62
|
* Update parsers: elm, wingGitHub2023-12-231-2/+2
|
* feat(luap): highlights more consistent with regex (#5819)Riley Bruins2023-12-232-9/+11
|
* fix(julia): pipe function highlight (#5815)Christian Degnbol Madsen2023-12-221-0/+6
| | | | In Julia when piping into a function the function should be highlighted as a function call, and not a variable.
* Update parsers: apex, scala, soql, sosl, tlaplus, wingGitHub2023-12-221-6/+6
|
* fix(cpp): incorrect indent of class with opening { on new line (#5811)Jędrzej Boczar2023-12-222-2/+9
|
* vimdoc: add note, warning, deprecated (#5817)Christian Clason2023-12-212-1/+7
|
* Add @nospell annotation to label definitions and referencesAhnaf Rafi2023-12-211-0/+3
|
* Update parsers: beancount, wingGitHub2023-12-211-2/+2
|
* highlights(haskell): add `fail` to exception highlightsMarc Jakobi2023-12-201-0/+1
|
* highlights(haskell): namespaced string quasiquoteMarc Jakobi2023-12-201-1/+9
|
* Update parsers: gleam, styled, v, wingGitHub2023-12-201-4/+4
|
* Update READMEGithub Actions2023-12-191-0/+1
|