Nvim Treesitter configurations and abstraction layer
Find a file
Thomas Vigouroux 2526baf4cc feat: add parsers module and better match iter
The `parsers` module manages parsers for us, for now only in a really
basic way.

iter_prepared_mathes iters on an enhanced versions of the matches, where
captures are directly accessible via their names to allow things like :
    ((itentifier) @def.first (identifier) @def.last)
To be handled like this in lua:
    match.def.first
    match.def.last

Also adds a `set!` predicate to allow setting data within the prepared
match (see queries/lua/locals.scm) for examples.
2020-04-19 09:45:54 +02:00
lua feat: add parsers module and better match iter 2020-04-19 09:45:54 +02:00
queries/lua feat: add an example locals query 2020-04-18 19:21:01 +02:00
.editorconfig style: add editorconfig 2020-04-18 17:39:03 +02:00
README.md Create README.md 2020-04-18 17:32:14 +02:00

nvim-treesitter

Nvim Treesitter configurations and abstraction layer