aerial.nvim/queries
Slotos 2d169d3497
feat: set scope from node captures and add basic query documentation (#318)
* Process scope captures

This lets us avoid complex querying when extracting scope.
As long as the capture includes a scoping node in a `@scope` capture,
its text will be extracted and used as a scope value.
If "public" is named differently in some language,
`#set @scope "text" "public"` will do the trick for a cost of an
additional query.

* Add basic query documentation to readme and vimdoc

* Add reusable language extensions info to readme
2023-11-10 07:39:37 -08:00
..
bash refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
c refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
c_sharp refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
cpp refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
dart refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
elixir refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
go refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
help refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
html refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
java refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
javascript refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
json refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
julia refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
latex refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
lua refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
make refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
markdown refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
norg refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
objdump refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
org refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
php refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
proto refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
python refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
rst refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
ruby feat: set scope from node captures and add basic query documentation (#318) 2023-11-10 07:39:37 -08:00
rust refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
scala refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
snakemake refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
solidity refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
teal refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
tsx refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
typescript refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
usd refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
vim refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
vimdoc refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
yaml refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00