summaryrefslogtreecommitdiff
path: root/queries
AgeCommit message (Collapse)Author
2020-06-15Add C++ highlights.scmStephan Seitz
2020-06-14feat(queries): add typescript and javascript queriesSteven Sojka
2020-06-14Add tree-sitter-regexStephan Seitz
This might be interesting for injected highlighting
2020-06-11Add highlights.scm and locals.scmChinmay
2020-06-11- #76 update the predicate syntax for ruby and cssTravonteD
2020-06-07Merge pull request #69 from theHamsta/go-highlightsThomas Vigouroux
Go highlights
2020-06-07Add call references for GoStephan Seitz
2020-06-07Add go locals.scmStephan Seitz
2020-06-07Add highlights.scm for GoStephan Seitz
2020-06-05html: Highlight (quoted_attribute_value) as @stringStephan Seitz
2020-06-02Merge pull request #68 from TravonteD/htmlThomas Vigouroux
Add html highlight queries
2020-06-02Merge pull request #67 from TravonteD/cssThomas Vigouroux
Add css highlight queries
2020-06-02Add html highlight queriesTravonteD
2020-06-02Add css highlight queriesTravonteD
2020-06-02Update python locals: `list_splat` and `dictionary_splat` define variables ↵Stephan Seitz
as parameters
2020-05-28Improve Python highlightsStephan Seitz
- Highlight types in attributes as @type (**Foo**.a) - Highlight superclasses @type - Highlight ^[A-Z] as @type - Highlight isinstance(*, type) as @type - Highlight default_parameter and keyword_argument as @parameter - Highlight *args, **kwargs as @parameter - Highlight -> as @operator
2020-05-23Some improvements to c/locals.scmStephan Seitz
- Fix function scope (was declaration only without body) - Use @definition.var like the other local files - Add translation_unit scope
2020-05-17Introduce `@include`Stephan Seitz
2020-05-17Add python/highlights.scm from tree-sitter-pythonStephan Seitz
2020-05-16Add python locals.scmStephan Seitz
2020-05-16queries: add C queriesThomas Vigouroux
Also add a missing `field` capture in locals query.
2020-05-11update ruby highlights and locals to conform the new contributionTravonteD
standards
2020-05-07fix(lua): update queriesThomas Vigouroux
2020-04-24Squashed commit of the following:TravonteD
commit 1b3700b0cd68cb507c64b7243a5bea050379f09c Author: TravonteD <tman1300@aol.com> Date: Fri Apr 24 08:44:34 2020 -0400 remove local from the capture groups commit 62f1a613c7c6f26e3a85f06f322ead28280dc7ca Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 18:43:09 2020 -0400 update captures for identifiers commit 9966d5a9cd780b2de80e620cee6833fd341028d0 Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 18:42:42 2020 -0400 add capture for constants that are recievers of a method call commit 10f03606710a3a54c8c722e4883b9475c6f9f776 Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 17:54:25 2020 -0400 update captures for function definitions and calls commit 4b350274cb02e1b69ae013fa157bae5c6be9e577 Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 17:21:10 2020 -0400 update captures for operators commit c66d42cd0d56d0a1bbfb1f88ffa7ff6ae8b6c2df Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 17:10:13 2020 -0400 update captures for literals commit a9c097fe03f7294fdaede760f2c016cf6c960a45 Author: TravonteD <tman1300@aol.com> Date: Thu Apr 23 15:54:47 2020 -0400 add highlights and locals from treesitter-ruby
2020-04-23locals(lua): incorrect query for field functionsThomas Vigouroux
2020-04-23highlight(lua): highlight local functionsThomas Vigouroux
2020-04-22highlight(lua): add more operatorsThomas Vigouroux
2020-04-22feat: syntax highlightingThomas Vigouroux
2020-04-19feat: first version of localsThomas Vigouroux
Locals will be the main interface to treesitter, through some functions: get_definitions(bufnr) : returns all the definitions in bufnr get_scopes(bufnr): returns all definitions in bufnr get_references(bufnr): returns all references in bufnr
2020-04-18feat: add an example locals queryThomas Vigouroux
This will be the guide for the implementation of locals extraction, which is treesitters name of definition/scope.