Commit graph

17 commits

Author SHA1 Message Date
Yuri Astrakhan
9dbe165296 chore: a few minor lints
* do not use `&` for the format args as it cannot (yet) be optimized by the compiler
* a few format inlining
2025-01-21 00:57:58 -05:00
Ramkumar Ramachandra
07aaf2322e
fix: keep highlight names list consistent in the docs and cli
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-15 23:29:43 -05:00
PanGan21
1a6af3fafe fix(docs): fix highlight readme example using compatible versions 2024-09-17 04:34:19 +02:00
Amaan Qureshi
a5b7c2a584
fix: publish 0.21.0 to registries 2024-02-21 15:11:37 -05:00
Amaan Qureshi
f32fa784be
chore(highlight): apply clippy fixes 2024-02-04 04:19:09 -05:00
Andrew Hlynskyi
0862921537 doc: Include README as top-level module documentation for all crates 2023-08-28 23:09:37 +03:00
Andrew Biehl
083b6949ed
docs: update tree-sitter-higlight README 2023-08-06 22:13:04 -04:00
Andrew Hlynskyi
613382c70a docs: update badges; fix markdown lint complains
Linter config `.vscode/settings.json`:
```json
{
    "[markdown]": {
        "files.trimTrailingWhitespace": false,
    },
    "markdownlint.config": {
        "default": true,
        // "ul-style": {
        //     "style": "asterisk"
        // },
        "MD001": false,
        "MD024": false,
        "MD025": false,
        "MD033": false,
        "MD041": false,
        "MD053": false,
    },
}
```
2023-04-16 23:39:08 +03:00
Andrew Hlynskyi
ec2af46f6f chore: remove all dead badges 2023-03-16 18:00:02 +02:00
Edgar
005eb12cfe
update readme accordingly 2021-06-16 19:14:45 +02:00
Douglas Creager
234bd79591 Update tree-sitter-{highlight,tags} READMEs
We now have an easier way to get at the language-specific configuration
in Rust, since we publish each language grammar as a crate with useful
accessor functions and globals.
2021-03-31 09:56:24 -04:00
Luis Hagenauer
11e7b108f2 highlight: Make README snippets compile 2020-11-24 12:35:38 +01:00
Han BAO
47a926067d Update README.md (#502)
configure the recognized names for highlighting
2019-12-06 14:00:27 -08:00
Han BAO
acc5f092c8 FIxing the README in highlight (#501)
* Correct README.md in /highlight

correct the lifetime in highlighter.highlight and correct the cases in match so that the demo in README could work.

* Update README.md

another small fix

* Update highlight/README.md

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@github.com>
2019-12-06 13:05:28 -08:00
Max Brunsfeld
6dbfbaed07 Start work on a system for testing syntax highlighting 2019-12-05 09:45:54 -08:00
Max Brunsfeld
40408fe6bb Update tree-sitter-highlight readme 2019-10-14 21:39:56 -07:00
Max Brunsfeld
c20a330fa5 highlight: Add a README 2019-02-19 17:56:46 -08:00