aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: add objdump to the supported languages (#5548)Colin Kennedy2023-10-225-0/+53
|
* Update parsers: gn, leo, liquidsoapGitHub2023-10-221-3/+3
|
* feat: add GN (Generate Ninja)Amaan Qureshi2023-10-228-0/+113
|
* Update README (#5558)github-actions[bot]2023-10-221-0/+1
|
* feat: leo parser and queries (#5542)r0012023-10-224-0/+190
|
* fix(phpdoc): disable spell checking of attribute names (#5015)Tomasz N2023-10-221-1/+3
|
* Update READMEGithub Actions2023-10-211-1/+2
|
* feat(perl)!: switch to tree-sitter-perl org's parserVeesh Goldman2023-10-215-169/+138
|
* feat(pod): add tree-sitter-perl org's POD parserVeesh Goldman2023-10-213-0/+84
|
* feat: add solidity foldsMeet Mangukiya2023-10-211-0/+20
|
* Update parsers: haskellGitHub2023-10-211-1/+1
|
* feat(erlang): add missing keyword 'begin'Benedikt Reinartz2023-10-211-0/+1
|
* feat(prisma): folding queries (#5541)Raafat Turki2023-10-211-0/+7
|
* docs: improve description of `@type.definition` captureaMOPel2023-10-201-1/+1
| | | Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* feat: register APKBUILD files as bashHugo2023-10-201-0/+1
|
* Update parsers: liquidsoap, phpGitHub2023-10-201-2/+2
|
* chore(wing): update queries from upstream (#5549)Pham Huy Hoang2023-10-202-3/+1
|
* docs: add hint on configuring custom filetypes (#5552)Hugo2023-10-201-0/+12
| | | | | I thought that this functionality was not possible but there's actually an API for it. This seems like a useful place for others to find more information on it.
* Update parsers: sql, wingGitHub2023-10-191-2/+2
|
* Update parsers: dart, wingGitHub2023-10-181-2/+2
|
* Update parsers: c, cuda, glsl, hlsl, sql, wingGitHub2023-10-171-6/+6
|
* Update parsers: awk, c, gstlaunch, sql, t32, wing (#5530)github-actions[bot]2023-10-161-5/+8
| | | Co-authored-by: GitHub <noreply@github.com>
* Update READMEGithub Actions2023-10-151-0/+1
|
* fix(scala): add `for_expression` localsRobert Jackson2023-10-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | This change does two main things: 1. Indicate that `(for_expression)`'s introduce a `@scope` (this is the scope for the enumerators to be used within the loop). 2. Indicate that the `(identifiers)` within the `(enumerators)` are `@definition.var`s. --- For the following example snippet: ```scala val fruits = List("apple", "banana", "avocado", "papaya") val countsToFruits = fruits.groupBy(fruit => fruit.count(_ == 'a')) for ((count, fruits) <- countsToFruits) { println(s"with (fruits) 'a' × $count = $fruits") } ``` The `count` and `fruits` identifiers are new definitions introduced by the `for` expressions scope.
* fix(scala): ensure `function_definition` is in parent scopeRobert Jackson2023-10-151-1/+2
|
* feat: add gstreamer pipeline syntax (`gstlaunch`)Stephan Seitz2023-10-152-0/+40
|
* fix(unison): improve highlight querieszetashift2023-10-151-6/+21
|
* fix(elixir): highlight functions without parenthesis (#5511)Alexander Sieg2023-10-151-0/+1
| | | | Elixir does not require parenthesis after the function name for a valid function definition.
* refactor: improve readabilityCarlos Afonso2023-10-151-2/+10
|
* fix(php): fix indentation for in between bracesCarlos Afonso2023-10-153-3/+4
|
* fix(markdown): set block quote priority within allowed rangeRiley Bruins2023-10-151-1/+1
|
* fix(markdown): give code blocks higher priority than block quotesRiley Bruins2023-10-151-1/+1
|
* fix(scala): Mark (lambda_expression) without bindings as @defintition.parametersRobert Jackson2023-10-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you have a lambda expression like: ```scala val fruits = List("apple", "banana", "avocado", "papaya") val countsToFruits = fruits.groupBy(fruit => fruit.count(_ == 'a')) for ((count, fruits) <- countsToFruits) { println(s"with (fruits) 'a' × $count = $fruits") } ``` The `fruit => fruit.count(_ == 'a')` lambda expression (note: without wrapping parenthesis) does not create a `(binding)` node. Its syntax tree is: ``` (lambda_expression) ; [5:18 - 47] parameters: (identifier) ; [5:18 - 22] (call_expression) ; [5:27 - 47] function: (field_expression) ; [5:27 - 37] value: (identifier) ; [5:27 - 31] field: (identifier) ; [5:33 - 37] arguments: (arguments) ; [5:38 - 47] (infix_expression) ; [5:39 - 46] left: (wildcard) ; [5:39 - 39] operator: (operator_identifier) ; [5:41 - 42] right: (character_literal) ; [5:44 - 46] ``` That example just _happens_ to be **exactly** one of the example from https://www.scala-lang.org/ ([see playground](https://scastie.scala-lang.org/S0bkCiXkQiuOMXnlhWn46g)) 😁.
* feat(haskell): highlights improvementsMarc Jakobi2023-10-152-67/+142
| | | | | | | | | | | | | | | | - Consider functions with only one value on the rhs as variables - Applied composition: `(f . g) <param>` -> `@function.call` - View patterns - `@field` in record update expression - type_tuple and type_list as variables - quantifier for `exp_apply (<rhs>)+ (variable)` - type_tuple and type_list as variables - Treat signatures with only one value on the rhs as variables (except for `IO a`) -> Fixes #5505. - Remove redundant anchors from signature function queries. - Move signature function queries to give them higher priority - Scoped function types - Add signature query to function with parameters query
* fix(typescript): do not highlight undefined as variableMunif Tanjim2023-10-151-4/+0
|
* Update parsers: beancount, wingGitHub2023-10-151-2/+2
|
* fix(php): highlight `never` as `@type.builtin` (#5522)nsfisis2023-10-141-0/+1
|
* Update parsers: liquidsoap, t32, wingGitHub2023-10-141-3/+3
|
* feat(java): highlight `var` as `@type.builtin`Ibrahim Delice2023-10-131-0/+2
|
* fix(java): move @ to `@attribute`Ibrahim Delice2023-10-131-1/+2
|
* fix(injections): fix injection for hurl for new injection syntaxKevin Durbin2023-10-131-1/+1
|
* feat(nix): some highlight improvementsMarc Jakobi2023-10-122-1/+30
| | | | | - functions - builtin functions with prefix - add test file
* Update parsers: wingGitHub2023-10-121-1/+1
|
* Update parsers: bash, dockerfile, groovy, python, swift, wingGitHub2023-10-111-6/+6
|
* fix(haskell): prevent segfault due to anchorless queries (#5502)Marc Jakobi2023-10-102-36/+31
|
* Update parsers: beancount, vimdoc, wingGitHub2023-10-101-3/+3
|
* Update READMEGithub Actions2023-10-091-1/+1
|
* chore(clojure): update maintainerNoah2023-10-091-1/+1
|
* feat: add nasm parser (#5475)ObserverOfTime2023-10-095-0/+159
| | | | | | | | | * feat: add nasm parser * chore: update highlights --------- Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
* Update parsers: swift, wingGitHub2023-10-091-2/+2
|