summaryrefslogtreecommitdiff
path: root/queries/lua
AgeCommit message (Collapse)Author
2021-01-04indent fixeskiyan42
2021-01-01Add c injection for ffi.cdef to luaSimon Hauser
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-11-23lua: fix "then" highlightingThomas Vigouroux
2020-10-21Add lua params (#605)Chinmay Dalal
* Add lua params * Fix * Remove redundant outer
2020-10-19Treesitter indentkiyan42
also fixes the memoize_by_buf_tick function
2020-10-15feat: Add more lua foldsMike
Add repeat_statement to lua folds
2020-10-04Remove textobjects moduleStephan Seitz
2020-09-19Add @keyword.operator for operators that are English words and add ↵Stephan Seitz
@exception for Java/JS
2020-09-14Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz
2020-09-14Folds: rename query files to folds.scm to be consistentSantos Gallegos
We use plural names for all query files except folds.
2020-09-10Add folding for local functions in luaNolan Prochnau
2020-09-08use keyword.function instead of functionkyazdani42
2020-09-08fix function/end keywords not applied for every scopekyazdani42
2020-09-06fix: contional > conditional in lua hl.scmkyazdani42
2020-09-06Lua: update highlightsSantos Gallegos
2020-09-06Lua: fix loop and conditional keywords highlightsSantos Gallegos
2020-09-01fix(fold): revamp foldThomas Vigouroux
fix(fold): typo fix(fold): remove debug and add queries fix(fold): fallback to local scopes for folds
2020-08-17chore(highlights): remove is predicate usageSteven Sojka
2020-08-16feat(highlights): add is predicateSteven Sojka
2020-08-11Lua highlights: add operator "=" and punctuationStephan Seitz
2020-08-09Lua: highlight function nameSantos Gallegos
2020-08-04Lua: fix @error captureSantos Gallegos
2020-08-03Lua locals: Make property_identifier a referenceStephan Seitz
2020-07-28Lua: update some queriesSantos Gallegos
- Basic textobjects - Highlighting punctuation symbols
2020-07-16highlights: some fixesThomas Vigouroux
Add `goto` keyword for C. Fix typo for lua.
2020-07-08locals(lua): simplify argsThomas Vigouroux
2020-07-08highlight(lua): fix overlapping queriesThomas Vigouroux
2020-07-01locals(lua): capture function definition paramsThomas Vigouroux
2020-07-01highlights(lua): update query to new syntaxThomas Vigouroux
2020-05-07fix(lua): update queriesThomas Vigouroux
2020-04-23locals(lua): incorrect query for field functionsThomas Vigouroux
2020-04-23highlight(lua): highlight local functionsThomas Vigouroux
2020-04-22highlight(lua): add more operatorsThomas Vigouroux
2020-04-22feat: syntax highlightingThomas 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.