summaryrefslogtreecommitdiffstats
path: root/queries/lua
Commit message (Collapse)AuthorAgeFilesLines
* fix: cleanup luap injection queriesRiley Bruins2023-12-231-24/+2
|
* feat: more `@string.regex` highlightsRiley Bruins2023-12-231-0/+20
|
* feat(lua): folds for parameter, argument listsRiley Bruins2023-11-191-0/+2
|
* refactor: Remove all `(ERROR) @error` capturesPham Huy Hoang2023-10-251-3/+0
| | | | | | | | | | | | As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries.
* feat(lua): highlight variadic expressions as builtin parameters (#5567)Riley Bruins2023-10-241-0/+2
|
* injections(lua): add vim highlights to api funcs (#5404)Pham Huy Hoang2023-09-161-0/+70
| | | | Add vim injections for `vim.api.nvim[_buf]_create_user_command` and `vim.api.nvim_create_autocmd`
* fix(lua): fix luadoc injectionsChristian Clason2023-09-151-1/+1
|
* refactor: remove `include-children` from queries (#5226)Pham Huy Hoang2023-09-121-6/+6
| | | These `include-children` were to alleviate an issue with empty range language tree, which has been fixed for Neovim nightly/Neovim 0.9.2
* fix(lua): highlights for attributeMunif Tanjim2023-09-071-3/+4
|
* fix(lua): use include-children instead (#5299)Pham Huy Hoang2023-08-221-5/+7
| | | | | The root issue is fixed with neovim 0.9.2. But the current stable version is neovim 0.9.1, so partially reverts the commit to make it compatible with the current stable version.
* fix(lua): luap injection (#5275)TheLeoP2023-08-181-5/+27
| | | | | | | | | * fix(lua): luap injection * test(lua): check for incorrect hlgroup of injected luap * chore(lua): injections styling * chore(lua): ignore luacheck for test.lua
* fix(lua): injections for comment and luadocMunif Tanjim2023-08-161-4/+5
|
* chore(injections)!: update injection syntax to 0.9Pham Huy Hoang2023-08-122-18/+28
| | | | | | | | | Since 0.9, @lang syntax is still available as fallback but will soon be deprecated. Because of that, new syntax should be adopted once 0.9 becomes the baseline requirements for nvim-treesitter - update health check - update doc
* queries/*/highlights.scm : remove `@spell` for stringsShellCode332023-08-071-1/+1
|
* feat(lua): update highlights query for functions (#4919)Munif Tanjim2023-06-081-5/+32
|
* fix(lua_inject): remove need for surrounding quote (#4740)Pham Huy Hoang2023-04-301-2/+2
|
* refactor(lua): move _VERSION to `@constant.builtin`, builtin types to ↵Amaan Qureshi2023-04-281-1/+7
| | | | `@namespace.builtin`
* fix(lua): injection eq should be any-of (#4711)Amaan Qureshi2023-04-261-1/+1
|
* injections(lua): tweak query to capture string content (#4707)Munif Tanjim2023-04-251-1/+1
|
* injections(lua): highlight vim.api.nvim_exec2smjonas2023-04-241-2/+2
|
* injections(lua): highlight Lua code in vim.rpcrequest and vim.rpcnotifysmjonas2023-04-241-1/+8
|
* fix: `get_range` shim for playgroundTom van Dijk2023-03-241-1/+1
|
* use indent.X syntax for captures and properties of set directivesGeorge Harker2023-03-241-6/+7
| | | | | | | | update CONTRIBUTING.md adjust indents for bass fix doc capture comment
* fix: shim 0.9 deprecationsLewis Russell2023-03-241-1/+1
|
* feat: add LuadocAmaan Qureshi2023-03-201-0/+4
|
* queries(lua): add more keywords related to variable/function builtins, ↵Amaan Qureshi2023-03-201-3/+9
| | | | debug, and coroutines
* fix(lua): properly highlight labelsAmaan Qureshi2023-03-201-2/+7
|
* feat(lua): add more builtin variables per lua_lsAmaan Qureshi2023-03-111-1/+1
|
* feat: add `@comment.documentation` where applicableAmaan Qureshi2023-03-051-0/+6
|
* feat(lua): add luap injectionsAmaan Qureshi2023-03-041-0/+26
|
* Extend injections for Lua to use query parserCameron2023-02-241-1/+1
|
* highlights(lua): use @method.callJaehwang Jung2022-12-151-1/+1
|
* lua: update queriesChristian Clason2022-11-011-0/+5
|
* locals(lua): fix directive not applyingbeardedsakimonkey2022-10-171-6/+6
| | | | fixes #3280
* 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
|
* change: allow one or more leading `;`numToStr2022-08-231-1/+1
|
* injections(lua): highlight string as `query` if starts with `;; query`numToStr2022-08-231-0/+3
|
* Split func/method definition from calls in several programming language querieslfenzo2022-08-031-2/+2
|
* fix(indents): indents for error block (css, lua) (#3207)Kiyan2022-07-211-0/+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(indent/lua): wrong for nested tables due to branch on opening pairsJędrzej Boczar2022-04-061-3/+0
|
* Inject query into lua for set_query callsConnor Lay (Clay)2022-04-061-0/+5
|
* fix(lua): restore precedence for @variable.builtin and @constant.builtinChristian Clason2022-03-121-14/+12
|
* indents(lua): make ")" `@indent_endStephan Seitz2022-02-061-0/+2
| | | | Fixes #2476
* indents(lua): use `(comment) @auto`Stephan Seitz2022-02-051-1/+0
|
* indent(lua): ignore commentStephan Seitz2022-02-051-0/+1
|
* docs: add `@zero_indent` to CONTRIBUTING.mdStephan Seitz2022-02-051-1/+0
|