Santos Gallegos
be8f656087
Use stylua for autoformat code ( #1480 )
2021-07-04 21:12:17 +00:00
derekstride
e98e2eafa2
downcase! directive to use with ruby injections
...
```
(#downcase! "language")
```
downcase! will ensure the metadata value for the specified key will be
downcased. If the value is a node, it will downcase the text specified
by the node.
```
(#downcase! @node "key")
```
You can also namespace the key with a specific capture, similar to how
you can call `(#set! @node "key" "value")`
2021-06-04 07:47:21 +02:00
Stephan Seitz
9f12ad1142
Fix "nth?" predicate
2021-01-20 10:39:21 +01:00
Steven Sojka
e602f1b22b
fix(query): add noop handler for make-range
2020-12-18 16:40:58 +01:00
Stephan Seitz
3674ad89df
fix(predicates): Fix #446 : highlight property only if not a method
2020-11-18 21:54:04 +01:00
Stephan Seitz
f4979e5379
feat(predicates): extend has-ancestor?, add has-parent?/has-type?
2020-11-18 21:54:04 +01:00
Stephan Seitz
aa4c3e83e3
Add virtual range for creating node-like objects from multiple nodes
2020-10-26 18:22:19 +01:00
Thomas Vigouroux
355d86fe6b
preds: declare set! predicate
2020-09-03 18:19:18 +02:00
Steven Sojka
579c9936d6
feat(highlights): add is predicate
2020-08-16 09:04:07 -05:00
Thomas Vigouroux
98b7515014
fix: refactor after upstream refactor
2020-08-14 15:00:13 +02:00
Steven Sojka
67509d4627
feat(predicates): add adjacent predicate
2020-07-31 11:54:09 -05:00
Stephan Seitz
fae96b588d
Predicates: remove function unlispify and use Lisp names directly
2020-07-27 11:07:09 +02:00
Stephan Seitz
6f771507a8
Add predicate: has-ancestor?
2020-07-27 10:15:33 +02:00
Stephan Seitz
5462fc92cb
Add predicates module
2020-07-27 10:15:33 +02:00