Commit graph

3 commits

Author SHA1 Message Date
Thomas Vigouroux
d05728e155 feat: syntax highlighting 2020-04-22 22:02:42 +02:00
Thomas Vigouroux
b706c4e8ed feat: first version of locals
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-19 17:28:52 +02:00
Thomas Vigouroux
00f871ab51 feat: add an example locals query
This will be the guide for the implementation of locals extraction,
which is treesitters name of definition/scope.
2020-04-18 19:21:01 +02:00