aboutsummaryrefslogtreecommitdiffstats
path: root/queries/lua/highlights.scm
Commit message (Collapse)AuthorAgeFilesLines
* highlights: use @preproc where appropriateObserverOfTime2022-10-151-1/+1
|
* feat(spell): support more languagesLewis Russell2022-09-261-4/+2
|
* highlights(lua): add spellLewis Russell2022-09-121-0/+2
|
* Split func/method definition from calls in several programming language querieslfenzo2022-08-031-2/+2
|
* highlights(lua): use `#eq?` instead of `#match?`Janfel2022-06-241-1/+1
| | | Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
* highlights(lua): highlight only `self` as `self`Janfel2022-06-241-1/+1
| | | Before, all identifiers containing the substring "self" were highlighted as the builtin `self`. Now, only the identifier `self` is highlighted as `self`.
* fix(lua): restore precedence for @variable.builtin and @constant.builtinChristian Clason2022-03-121-14/+12
|
* highlights(lua): don't highlight arguments as parametersStephan Seitz2022-01-301-2/+0
|
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-90/+115
| | | | | 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
* highlights(lua): `next` as builtin functionnumToStr2021-12-131-0/+3
|
* Prefer lua-match over matchLewis Russell2021-11-231-1/+1
| | | | as string.find is much quicker than vim.regex:match*
* highlights(lua): Add Lua 5.1 built-in functionsSergio Alejandro Vargas2021-09-011-0/+9
|
* highlights(lua): Add semicolonsSergio Alejandro Vargas2021-08-171-1/+1
|
* Lua: highlight uppercase variables as constants (#1690)Santos Gallegos2021-08-141-0/+2
|
* highlights(lua): Organize `function_call` queriesSergio Alejandro Vargas2021-08-021-3/+6
|
* highlights(lua): Fix method callsSergio Alejandro Vargas2021-08-021-1/+1
| | | | | | 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.
* Lua: highlight function definitionsSantos Gallegos2021-07-071-0/+5
| | | | | | | | | | | | | | In lua ```lua function foo() end ``` is syntax sugar for ```lua foo = function() end ```
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* feat: added `self` as builtin keyword for LuaFolke Lemaitre2021-06-171-0/+2
|
* fix(lua): correctly highlight field namesThomas Vigouroux2021-04-221-1/+2
|
* Lua: highlight fieldsSantos Gallegos2021-02-101-0/+1
|
* fix(lua): correctly highlight do_statementThomas Vigouroux2021-01-271-0/+6
|
* lua: update to pull shebang fixThomas Vigouroux2020-11-251-1/+3
|
* lua: fix "then" highlightingThomas Vigouroux2020-11-231-2/+2
|
* Add lua params (#605)Chinmay Dalal2020-10-211-0/+4
| | | | | | | * Add lua params * Fix * Remove redundant outer
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-191-3/+7
| | | | @exception for Java/JS
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-141-0/+3
|
* use keyword.function instead of functionkyazdani422020-09-081-3/+3
|
* fix function/end keywords not applied for every scopekyazdani422020-09-081-3/+7
|
* fix: contional > conditional in lua hl.scmkyazdani422020-09-061-1/+1
|
* Lua: update highlightsSantos Gallegos2020-09-061-1/+7
|
* Lua: fix loop and conditional keywords highlightsSantos Gallegos2020-09-061-13/+31
|
* chore(highlights): remove is predicate usageSteven Sojka2020-08-171-3/+0
|
* feat(highlights): add is predicateSteven Sojka2020-08-161-0/+3
|
* Lua highlights: add operator "=" and punctuationStephan Seitz2020-08-111-0/+4
|
* Lua: highlight function nameSantos Gallegos2020-08-091-7/+10
|
* Lua: fix @error captureSantos Gallegos2020-08-041-1/+1
|
* Lua: update some queriesSantos Gallegos2020-07-281-0/+9
| | | | | - Basic textobjects - Highlighting punctuation symbols
* highlights: some fixesThomas Vigouroux2020-07-161-6/+6
| | | | | Add `goto` keyword for C. Fix typo for lua.
* highlight(lua): fix overlapping queriesThomas Vigouroux2020-07-081-15/+21
|
* highlights(lua): update query to new syntaxThomas Vigouroux2020-07-011-42/+55
|
* fix(lua): update queriesThomas Vigouroux2020-05-071-12/+13
|
* highlight(lua): highlight local functionsThomas Vigouroux2020-04-231-0/+1
|
* highlight(lua): add more operatorsThomas Vigouroux2020-04-221-1/+25
|
* feat: syntax highlightingThomas Vigouroux2020-04-221-0/+36