summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/query_predicates.lua
AgeCommit message (Collapse)Author
2021-11-02chore: fix typosDundar Göc
2021-08-03fix: query_predicate - nthMunif Tanjim
2021-07-09downcase predicate: nil protectionSantos Gallegos
get_node_text could be nil if the range is invalid. With https://github.com/neovim/neovim/pull/15030/ this fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1531
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-06-04downcase! directive to use with ruby injectionsderekstride
``` (#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-01-20Fix "nth?" predicateStephan Seitz
2020-12-18fix(query): add noop handler for make-rangeSteven Sojka
2020-11-18fix(predicates): Fix #446: highlight property only if not a methodStephan Seitz
2020-11-18feat(predicates): extend has-ancestor?, add has-parent?/has-type?Stephan Seitz
2020-10-26Add virtual range for creating node-like objects from multiple nodesStephan Seitz
2020-09-03preds: declare set! predicateThomas Vigouroux
2020-08-16feat(highlights): add is predicateSteven Sojka
2020-08-14fix: refactor after upstream refactorThomas Vigouroux
2020-07-31feat(predicates): add adjacent predicateSteven Sojka
2020-07-27Predicates: remove function unlispify and use Lisp names directlyStephan Seitz
2020-07-27Add predicate: has-ancestor?Stephan Seitz
2020-07-27Add predicates moduleStephan Seitz