summaryrefslogtreecommitdiff
path: root/queries/lua/highlights.scm
AgeCommit message (Collapse)Author
2022-11-01lua: update queriesChristian Clason
2022-10-15highlights: use @preproc where appropriateObserverOfTime
2022-09-26feat(spell): support more languagesLewis Russell
2022-09-12highlights(lua): add spellLewis Russell
2022-08-03Split func/method definition from calls in several programming language querieslfenzo
2022-06-24highlights(lua): use `#eq?` instead of `#match?`Janfel
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2022-06-24highlights(lua): highlight only `self` as `self`Janfel
Before, all identifiers containing the substring "self" were highlighted as the builtin `self`. Now, only the identifier `self` is highlighted as `self`.
2022-03-12fix(lua): restore precedence for @variable.builtin and @constant.builtinChristian Clason
2022-01-30highlights(lua): don't highlight arguments as parametersStephan Seitz
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-12-13highlights(lua): `next` as builtin functionnumToStr
2021-11-23Prefer lua-match over matchLewis Russell
as string.find is much quicker than vim.regex:match*
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-04-22fix(lua): correctly highlight field namesThomas Vigouroux
2021-02-10Lua: highlight fieldsSantos Gallegos
2021-01-27fix(lua): correctly highlight do_statementThomas Vigouroux
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-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-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-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-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-08highlight(lua): fix overlapping queriesThomas Vigouroux
2020-07-01highlights(lua): update query to new syntaxThomas Vigouroux
2020-05-07fix(lua): update queriesThomas Vigouroux
2020-04-23highlight(lua): highlight local functionsThomas Vigouroux
2020-04-22highlight(lua): add more operatorsThomas Vigouroux
2020-04-22feat: syntax highlightingThomas Vigouroux