summaryrefslogtreecommitdiff
path: root/queries/lua/locals.scm
AgeCommit message (Collapse)Author
2022-10-17locals(lua): fix directive not applyingbeardedsakimonkey
fixes #3280
2022-01-18feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason
also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua BREAKING CHANGE: queries are not compatible; modules will have to update
2021-02-07Lua: improve scope queriesSantos Gallegos
- Set scope to parent - Group all scopes - Use the . operator
2021-01-27fix(lua): correctly handle do_statement in localsThomas Vigouroux
2020-12-16Remove duplicate capture for `function_definition`El Piloto
2020-12-16Capture anonymous functions assigned to variablesEl Piloto
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/709
2020-11-25lua: update to pull shebang fixThomas Vigouroux
2020-08-16feat(highlights): add is predicateSteven Sojka
2020-08-03Lua locals: Make property_identifier a referenceStephan Seitz
2020-07-08locals(lua): simplify argsThomas Vigouroux
2020-07-01locals(lua): capture function definition paramsThomas Vigouroux
2020-05-07fix(lua): update queriesThomas Vigouroux
2020-04-23locals(lua): incorrect query for field functionsThomas Vigouroux
2020-04-19feat: first version of localsThomas Vigouroux
Locals will be the main interface to treesitter, through some functions: get_definitions(bufnr) : returns all the definitions in bufnr get_scopes(bufnr): returns all definitions in bufnr get_references(bufnr): returns all references in bufnr
2020-04-18feat: add an example locals queryThomas Vigouroux
This will be the guide for the implementation of locals extraction, which is treesitters name of definition/scope.