Thomas Vigouroux
3faaeb479b
locals(lua): simplify args
2020-07-08 22:16:53 +02:00
Thomas Vigouroux
f9844d359e
highlight(lua): fix overlapping queries
2020-07-08 22:16:53 +02:00
Thomas Vigouroux
e8af62c843
locals(lua): capture function definition params
2020-07-01 14:46:55 +02:00
Thomas Vigouroux
d15210b22f
highlights(lua): update query to new syntax
2020-07-01 14:46:55 +02:00
Thomas Vigouroux
22f73628f6
fix(lua): update queries
2020-05-07 14:03:29 +02:00
Thomas Vigouroux
f6f402e870
locals(lua): incorrect query for field functions
2020-04-23 10:29:41 +02:00
Thomas Vigouroux
7cff1aabaa
highlight(lua): highlight local functions
2020-04-23 10:28:26 +02:00
Thomas Vigouroux
c4862c656e
highlight(lua): add more operators
2020-04-22 22:02:42 +02:00
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