| Age | Commit message (Collapse) | Author |
|
|
|
|
|
This might be interesting for injected highlighting
|
|
|
|
|
|
Go highlights
|
|
|
|
|
|
|
|
|
|
Add html highlight queries
|
|
Add css highlight queries
|
|
|
|
|
|
as parameters
|
|
- 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
|
|
- Fix function scope (was declaration only without body)
- Use @definition.var like the other local files
- Add translation_unit scope
|
|
|
|
|
|
|
|
Also add a missing `field` capture in locals query.
|
|
standards
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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
|
|
This will be the guide for the implementation of locals extraction,
which is treesitters name of definition/scope.
|