aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* Rename extend indent captures.Daniel Ebert2022-10-11
| | | | Clarify comments in indent code.
* Add `extend-indented` and `stop-extend` captures for indent queries.Triton1712022-10-11
| | | | Improve and re-enable python indent queries.
* Change twig tree-sitter grammar (#4176)gbprod2022-10-10
|
* Improve C# syntax highlighting (#4118)Chickenkeeper2022-10-10
|
* rust: Highlight function signatures as functions (#4073)Michael Davis2022-10-03
| | | | | | | | | | | This stanza highlights functions within trait definitions. For example, in: pub trait Widget { fn render(self, area: Rect, buf: &mut Buffer); } `render` is currently highlighted as a variable. With this change it's highlighted as a function.
* Update treesitter markdown (#4078)David2022-10-03
| | | | | * Update treesitter markdown * Update inline and add table injections
* Add support for webassembly text format (#4040)Roberto Vidal2022-10-01
|
* WGSL syntax highlighting fix (#3996)Chickenkeeper2022-09-30
|
* Add comment injection for R (#4031)Maximilian Muecke2022-09-29
|
* fix: Improve JSX and TSX tag highlighting (#3973)Jacob Chandler2022-09-26
|
* Remove `do_block` from Ruby indents (#3976)Oskar Köök2022-09-26
| | | `do_block` and `block` seem to conflict, causing double-indentation in some cases. Removing `do_block` does not seem to have any negative effect, while fixing the double-indentation issue.
* Fix highlighting on single-character Rust consts (#3927)gavincrawford2022-09-21
| | | | Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com> Co-authored-by: Gavin Crawford <gavincrawford@users.noreply.github.com>
* add `bass` language + highlighting (#3771)Alex Suraci2022-09-18
|
* fix: Improving JSX and TSX indents (#3853)Benjamin Streit2022-09-16
|
* feat: Syntax highlighting for Astro files (#3829)Benjamin Streit2022-09-13
|
* Add textobject for gdscript (#3760)Erasin2022-09-10
|
* Add godot resource support (#3759)Erasin2022-09-10
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(languages): jsonnet (#3714)Matouš Dzivjak2022-09-08
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add syntax highlighting for SML (#3692)Giorbo2022-09-07
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix Rust attribute highlights (#3729)Michael Davis2022-09-07
|
* nix: fix highlighting rulesTimothy DeHerrera2022-09-07
| | | | | | | | * avoid coloring `identifier`s globally * fix function application when not part of `select_expression` * add `has_attribute_expression` highlighting * fix precendence for interpolation, which should be after select * highlight `@` as delimiter
* nix: add language injectionsTimothy DeHerrera2022-09-06
| | | | | | | | By simply placing a comment with the name of the desired language just before a multi-line string, that language will be injected. Also, common functions and attributes which are expected to be shell code are automatically injected.
* Update tree-sitter-diff (#3708)Michael Davis2022-09-06
| | | | | This change also renames the grammar from `git-diff` to `diff`. The grammar covers regular diff syntax so I renamed the repository a while ago.
* Elixir: update tree-sitter queries (#3645)Clay2022-09-05
|
* tree-sitter-solidity: Use upstream, update queriesBlaž Hrastnik2022-09-05
|
* Highlight SQL in `sqlx::{query,query_as}!()` in Rust (#3647)Charles Hall2022-09-02
|
* update zig grammar and highlight rules (#3621)voroskoi2022-09-02
|
* Update tree-sitter-rust to latestMichael Davis2022-08-31
| | | | | | There don't appear to be any regressions from the updates. Also included is a fix which highlights the "#" as in attributes as punctuation. This was previously unhighlighted.
* erlang: Fix highlighting of empty recordsMichael Davis2022-08-31
| | | | | | | | | | For example -record(state, {}) Would not highlight `state` as a type since the alternation didn't allow for an empty tuple. Allowing the inner atom of the tuple to be optional fixes this case.
* Fix missing C highlightsMichael Davis2022-08-31
| | | | | | * "const" keyword * booleans * <=/>= operators
* Delete invalid indents.scm queriesMichael Davis2022-08-31
|
* Fix rust text objects (#3590)David2022-08-28
|
* Add c-sharp textobjects (#3494)Gustavo Bogarín2022-08-27
| | | | Co-authored-by: Gustavo Bogarín <gbogarin@outlook.com> Co-authored-by: Gustavo Bogarín <gbogarin@posibillian.tech>
* Pascal support (#3542)ath32022-08-25
|
* AWK Regex injection (#3535)ath32022-08-24
|
* AWK support (#3528)ath32022-08-24
|
* Julia queries: fix non-consecutive docstring highlightChristoph Horn2022-08-24
|
* Julia queries: prevent constructors to be highlighted as functionsChristoph Horn2022-08-24
| | | | Also improves the captures of the remaining identifiers.
* Julia queries: limit markdown highlighting to docstringsChristoph Horn2022-08-24
|
* Julia queries: major refactoring of `highlights.scm`, add regex injections, ↵Christoph Horn2022-08-24
| | | | locals
* Julia queries: update grammar, fix breaking changesChristoph Horn2022-08-24
|
* feat(lang): Add esdl grammar (#3526)Jaden2022-08-24
|
* Improve dart indent (#3419)seb-bl2022-08-24
|
* add syntax highlights for xit (#3521)ChemicalXandco2022-08-24
|
* feat: add taskwarrior to languages so `task N edit` is nice (#3468)Alexander Brevig2022-08-20
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update tree-sitter-swift (#3461)Michael Davis2022-08-17
|
* Theme Related Fixes (#3412)nosa2022-08-14
|
* Fix Markdown Metadata (#3400)Erasin2022-08-12
|
* highlight closure pipes as brackets (#3397)Vince Mutolo2022-08-12
| | | Co-authored-by: Vince Mutolo <vince@mutolo.org>
* Update tree-sitter-latex and highlights (#3370)Erasin2022-08-10
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>