aboutsummaryrefslogtreecommitdiffstats
path: root/queries/lua/injections.scm
Commit message (Collapse)AuthorAgeFilesLines
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-202/+0
|
* fix(lua): remove duplicate `nvim_command` (#7477)phanium2024-12-171-2/+1
|
* feat(lua): add `exec_lua` injection for nvim testsChristian Clason2024-04-051-0/+9
|
* style: format querydatwaft2024-03-251-11/+8
|
* feat(lua): add injections for `vim.filetype.add`datwaft2024-03-251-0/+18
|
* refactor(format): drop extra indentation for fieldPhạm Huy Hoàng2024-03-211-85/+72
|
* feat(format-scripts): linewrap predicates再生花2024-02-231-1/+2
| | | "format-ignore".kick()
* fix(lua): inject luadoc into comments immediately beginning with a `|`Amaan Qureshi2024-01-261-1/+1
|
* chore: query formattingPham Huy Hoang2024-01-191-55/+88
|
* refactor: manual pre-cleanupPham Huy Hoang2024-01-191-3/+4
| | | | | Moving comments, adding `format-ignore` to lines that will be better with it
* feat(injections): add printf format stringsObserverOfTime2024-01-191-0/+17
|
* fix: cleanup luap injection queriesRiley Bruins2023-12-231-24/+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): 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-121-18/+26
| | | | | | | | | 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
* fix(lua_inject): remove need for surrounding quote (#4740)Pham Huy Hoang2023-04-301-2/+2
|
* 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
|
* fix: shim 0.9 deprecationsLewis Russell2023-03-241-1/+1
|
* feat: add LuadocAmaan Qureshi2023-03-201-0/+4
|
* feat(lua): add luap injectionsAmaan Qureshi2023-03-041-0/+26
|
* Extend injections for Lua to use query parserCameron2023-02-241-1/+1
|
* 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
|
* Inject query into lua for set_query callsConnor Lay (Clay)2022-04-061-0/+5
|
* feat(lua)!: switch from our fork to MunifTanjim's (#2272)Christian Clason2022-01-181-50/+11
| | | | | 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
* Prefer lua-match over matchLewis Russell2021-11-231-4/+4
| | | | as string.find is much quicker than vim.regex:match*
* Add basic vimscript injection in `vim.cmd`/`nvim_command`/`nvim_exec` (#1922)vhyrro2021-11-161-0/+26
|
* injections(lua): fix cdef injectionStephan Seitz2021-09-251-0/+15
| | | | Fixes #1840
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * 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
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-0/+2
| | | Closes #236
* Add c injection for ffi.cdef to luaSimon Hauser2021-01-011-0/+10