aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* C# syntax highlight tweaks (#4285)Chickenkeeper2022-10-15
|
* Fixup Zig Indent Queries (#4281)Sora2022-10-15
|
* c/c++ highlighting: various tweaksSam McCall2022-10-15
| | | | | | | | | | - treat `restrict`/`_Atomic` like `const`/`volatile` => @keyword.storage.modifier - highlight `unsigned int` as builtin => @type.builtin - recognize `static_cast` and friends => @keyword - `template` is a kind of entity like `typename` => @keyword.storage.type - many declaration modifiers have nothing to do with storage/types (explicit, friend, access specifiers, inline in C++) => @keyword - fix floats highlighted as integer => @constant.numeric
* c/c++ highlights: *& are @type or @operator based on context (#4278)Sam McCall2022-10-15
|
* Add support for Purescript language (#4242)Dario Oddenino2022-10-14
|
* Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079)Chickenkeeper2022-10-14
|
* Update tree-sitter-lua and add textobjects for Lua (#3552)Lennard Hofmann2022-10-12
|
* 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
|