aboutsummaryrefslogtreecommitdiffstats
path: root/queries/lua/locals.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-54/+0
|
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-10/+8
|
* chore: query formattingPham Huy Hoang2024-01-191-12/+17
|
* feat(locals)!: switch to upstream capturesChristian Clason2024-01-191-10/+10
|
* locals(lua): fix directive not applyingbeardedsakimonkey2022-10-171-6/+6
| | | | fixes #3280
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-38/+38
| | | | | 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
* Lua: improve scope queriesSantos Gallegos2021-02-071-12/+12
| | | | | | - Set scope to parent - Group all scopes - Use the . operator
* fix(lua): correctly handle do_statement in localsThomas Vigouroux2021-01-271-8/+12
|
* Remove duplicate capture for `function_definition`El Piloto2020-12-161-2/+4
|
* Capture anonymous functions assigned to variablesEl Piloto2020-12-161-0/+5
| | | | Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/709
* lua: update to pull shebang fixThomas Vigouroux2020-11-251-1/+1
|
* feat(highlights): add is predicateSteven Sojka2020-08-161-1/+1
|
* Lua locals: Make property_identifier a referenceStephan Seitz2020-08-031-0/+2
|
* locals(lua): simplify argsThomas Vigouroux2020-07-081-6/+2
|
* locals(lua): capture function definition paramsThomas Vigouroux2020-07-011-0/+2
|
* fix(lua): update queriesThomas Vigouroux2020-05-071-16/+8
|
* locals(lua): incorrect query for field functionsThomas Vigouroux2020-04-231-8/+11
|
* feat: first version of localsThomas Vigouroux2020-04-191-8/+8
| | | | | | | 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
* feat: add an example locals queryThomas Vigouroux2020-04-181-0/+45
This will be the guide for the implementation of locals extraction, which is treesitters name of definition/scope.