Commit graph

146 commits

Author SHA1 Message Date
Santos Gallegos
32c19ec1e8 Lua: fix @error capture 2020-08-04 08:07:49 +02:00
Shirasaka
f372e2ab87 Add PHP, TOML, and update HTML, javascript queries
- PHP         : Add highlights and locals query
- TOML        : Add highlights and locals query
- HTML        : Add scope
- javascript  : Add some scopes
2020-08-04 08:05:51 +02:00
Stephan Seitz
a0abaf936c Lua locals: Make property_identifier a reference 2020-08-03 08:06:40 +02:00
Santos Gallegos
5c5f4c5d54 RST: update locals 2020-08-01 19:18:54 +02:00
Santos Gallegos
8cacd5aaac RST: update highlights 2020-08-01 14:33:36 +02:00
Santos Gallegos
b1da6ad8b3 rst: update highlight queries 2020-07-29 10:04:46 +02:00
Steven Sojka
bd1d1adb35 rename query parser to query from scheme 2020-07-28 18:30:24 +02:00
Steven Sojka
aaa24cc47a feat(parsers): add scheme parser 2020-07-28 08:28:36 -05:00
Santos Gallegos
b8e3a2dc65 Lua: update some queries
- Basic textobjects
- Highlighting punctuation symbols
2020-07-28 09:54:40 +02:00
Stephan Seitz
1301884e97 C++: locals template_declaration must define their own scope in which the template arguments are valid 2020-07-27 15:20:04 +02:00
Stephan Seitz
1d178d75ea C/C++ locals: Make field_identifier a reference 2020-07-27 14:57:14 +02:00
Stephan Seitz
4f4c4ff6ef Java locals: use has-ancestor? to match imports 2020-07-27 11:08:13 +02:00
Stephan Seitz
4a77ac78d0 Java highlights/locals: Add catch_formal_parameter 2020-07-27 11:08:13 +02:00
Stephan Seitz
35837b069b Java highlights: Add highlight for this 2020-07-27 11:08:13 +02:00
Chinmay Dalal
656a5c4064 Add Java locals
Co-authored: @PitcherTear22
2020-07-27 11:08:13 +02:00
Santos Gallegos
6f01384cb2 Parsers: add reStructuredText 2020-07-27 09:16:26 +02:00
Stephan Seitz
121c44a23b Dart highlights: add documentation_comment 2020-07-26 17:23:46 +02:00
Stephan Seitz
8021a769ed Dart highlighs: disable invalid nodes after parser update to fix CI 2020-07-26 17:23:46 +02:00
Stephan Seitz
5b8c110ea4 Go locals: Make func_literal (lambda) a @scope 2020-07-26 10:16:24 +02:00
Stephan Seitz
17f99676e1 Go locals: use reference.kind for calls 2020-07-26 10:16:24 +02:00
Stephan Seitz
b7a4c97feb Go locals: range_clause can define variables
```go
for _, num := range numbers {
         fmt.Print(num, " ")
}
```
2020-07-24 10:07:46 +02:00
Akin Sowemimo
599bec3890 Rename attribute to annotation 2020-07-23 17:17:03 +02:00
Akin Sowemimo
72efa353f0 Remove todo comment 2020-07-23 17:17:03 +02:00
Akin Sowemimo
12feef7af8 Add getter and setter signature highlights 2020-07-23 17:17:03 +02:00
Akin Sowemimo
2ae63525dc Add some operators and match classes (with regex) 2020-07-23 17:17:03 +02:00
Stephan Seitz
1611998ca9 Dart highlights: Add some basic queries 2020-07-23 09:08:22 +02:00
Steven Sojka
e821349661 add js textobject queries 2020-07-22 23:41:57 +02:00
Stephan Seitz
5d696053e5 Fix #198: prefer method highlighting over attribute 2020-07-22 17:30:48 +02:00
Stephan Seitz
b893592398 Python highlights: add lambda parameters 2020-07-22 17:30:48 +02:00
Steven Sojka
39f3abdf7b
Merge pull request #209 from steelsojka/master
add rest_parameters as definition in javascript
2020-07-22 08:40:45 -05:00
Steven Sojka
6157981113 add rest_parameters as definition in javascript 2020-07-22 07:04:06 -05:00
winwisely268
954b8c718f fixes golang method highlights (overwritten by parameter in the ordering) 2020-07-22 11:28:57 +02:00
Steve Vermeulen
23a16ab605 Added some more fixes to c# highlighting 2020-07-20 23:19:18 +02:00
Steve Vermeulen
d22e0dd865 Few more minor fixes to c# highlighting to cover other cases of types being used 2020-07-20 23:19:18 +02:00
Steve Vermeulen
e6fe7cdab0 Fixed to use @float instead of just @number 2020-07-20 23:19:18 +02:00
Steve Vermeulen
2391930b70 Commenting out the attempt to highlight method calls for now 2020-07-20 23:19:18 +02:00
Steve Vermeulen
e6300a045a C# highlighting - Fixed to highlight method calls, and changed break to be conditional instead of a repeat 2020-07-20 23:19:18 +02:00
Steve Vermeulen
870825e0e8 Added more highlight groups to C# file 2020-07-20 23:19:18 +02:00
Steve Vermeulen
4d71e1455c Added first attempt at highlighting and text objects for csharp 2020-07-20 23:19:18 +02:00
Stephan Seitz
64ebd4128e C highlights: Add operator "%" 2020-07-20 09:00:07 +02:00
Stephan Seitz
496b175d05 C++ locals: add variadic as @definition.var 2020-07-20 09:00:07 +02:00
Stephan Seitz
95d3ce23c6 C++ highlights: Add decltype keyword 2020-07-20 09:00:07 +02:00
Stephan Seitz
58d52ea62d C++ highlights: Highlight variadic parameters 2020-07-20 09:00:07 +02:00
Stephan Seitz
969edeeced Python highlights: highlight functions with self as methods (#198)
Also highlight __init__/__new__ as constructor
2020-07-20 08:57:12 +02:00
Stephan Seitz
58c6d2a73f Attach kind of reference to query result instead of using subfields
This makes smart_rename work also for types out of the box and we don't
need to search for the path of actual node.
2020-07-20 08:55:53 +02:00
TravonteD
45a1c3998d bash: add locals.scm for use with definition highlighting 2020-07-19 22:16:00 +02:00
winwisely268
59c084b5d8 go loop and func literal, rust textobject support 2020-07-17 20:44:43 +02:00
Steven Sojka
ac14bad7a8 fix(highlights): add array strings 2020-07-17 16:09:24 +02:00
TravonteD
a166d44c8a fix: fix references and definitions
The highlighting when highlighting references and definitions in ruby
were off. This corrects that by assigning them to their correct properties.
2020-07-16 20:26:25 +02:00
winwisely268
ee4cd7b0fd added textobject support for golang 2020-07-16 11:09:33 +02:00