summaryrefslogtreecommitdiff
path: root/queries/lua
AgeCommit message (Collapse)Author
2021-09-25injections(lua): fix cdef injectionStephan Seitz
Fixes #1840
2021-09-01highlights(lua): Add Lua 5.1 built-in functionsSergio Alejandro Vargas
2021-08-17highlights(lua): Add semicolonsSergio Alejandro Vargas
2021-08-14Lua: highlight uppercase variables as constants (#1690)Santos Gallegos
2021-08-02highlights(lua): Organize `function_call` queriesSergio Alejandro Vargas
2021-08-02highlights(lua): Fix method callsSergio Alejandro Vargas
The usual `function_call` query would highlight the objects at the beginning of a method call. The `method` query has to account for this, and highlight the identifier as a variable again.
2021-07-07Lua: highlight function definitionsSantos Gallegos
In lua ```lua function foo() end ``` is syntax sugar for ```lua foo = function() end ```
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-06-17feat: added `self` as builtin keyword for LuaFolke Lemaitre
2021-05-16Add `do_statement` to lua foldsSergio Alejandro Vargas
2021-05-07Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos
This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
2021-04-28Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos
* Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
2021-04-22fix(lua): correctly highlight field namesThomas Vigouroux
2021-03-12Add comment parser to highlight comment tags (#893)Santos Gallegos
Closes #236
2021-03-01feat: use @ignore for comments and multiline stringselianiva
2021-02-23add do statement to lua indentskiyan
2021-02-10Lua: highlight fieldsSantos Gallegos
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
2021-01-27fix(lua): correctly highlight do_statementThomas Vigouroux
2021-01-20lua: Add more indent nodesLewis Russell
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.