Commit graph

20 commits

Author SHA1 Message Date
Thomas Vigouroux
545e5c479a fix(fold): revamp fold
fix(fold): typo

fix(fold): remove debug and add queries

fix(fold): fallback to local scopes for folds
2020-09-01 21:51:17 +02:00
Steven Sojka
cab8717959 chore(highlights): remove is predicate usage 2020-08-17 19:27:35 +02:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00
Stephan Seitz
1c366a3a1c Lua highlights: add operator "=" and punctuation 2020-08-11 14:11:24 +02:00
Santos Gallegos
429036317a Lua: highlight function name 2020-08-09 18:38:00 +02:00
Santos Gallegos
32c19ec1e8 Lua: fix @error capture 2020-08-04 08:07:49 +02:00
Stephan Seitz
a0abaf936c Lua locals: Make property_identifier a reference 2020-08-03 08:06:40 +02:00
Santos Gallegos
b8e3a2dc65 Lua: update some queries
- Basic textobjects
- Highlighting punctuation symbols
2020-07-28 09:54:40 +02:00
Thomas Vigouroux
85d2f9ee93 highlights: some fixes
Add `goto` keyword for C.
Fix typo for lua.
2020-07-16 10:49:49 +02:00
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