Commit graph

21 commits

Author SHA1 Message Date
Pham Huy Hoang
25bdc313c7
fix(lua_inject): remove need for surrounding quote (#4740) 2023-04-30 23:46:03 -04:00
Amaan Qureshi
b0fe9cea0e
fix(lua): injection eq should be any-of (#4711) 2023-04-26 11:42:06 +09:00
Munif Tanjim
75f911d01f
injections(lua): tweak query to capture string content (#4707) 2023-04-25 16:05:52 +02:00
smjonas
1280315db1 injections(lua): highlight vim.api.nvim_exec2 2023-04-24 15:04:34 -04:00
smjonas
72e2e2df86 injections(lua): highlight Lua code in vim.rpcrequest and vim.rpcnotify 2023-04-24 15:04:34 -04:00
Tom van Dijk
5c3e8dee64 fix: get_range shim for playground 2023-03-24 22:17:04 +00:00
Lewis Russell
90ead4ed58 fix: shim 0.9 deprecations 2023-03-24 16:05:38 +01:00
Amaan Qureshi
bc23db2515 feat: add Luadoc 2023-03-20 04:20:49 -04:00
Amaan Qureshi
25f99a270a feat(lua): add luap injections 2023-03-04 11:32:25 -05:00
Cameron
1e8ad621a5 Extend injections for Lua to use query parser 2023-02-24 09:03:50 +02:00
numToStr
2f671dfa36 change: allow one or more leading ; 2022-08-23 14:04:26 -07:00
numToStr
383d152783 injections(lua): highlight string as query if starts with ;; query 2022-08-23 14:04:26 -07:00
Connor Lay (Clay)
ab372a88ef Inject query into lua for set_query calls 2022-04-06 18:21:45 +02:00
Christian Clason
c80715f883
feat(lua)!: switch from our fork to MunifTanjim's (#2272)
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
2022-01-18 22:15:26 +01:00
Lewis Russell
011ac894ec Prefer lua-match over match
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
vhyrro
d78fb79ed6
Add basic vimscript injection in vim.cmd/nvim_command/nvim_exec (#1922) 2021-11-16 21:14:22 -05:00
Stephan Seitz
b7c95eef95 injections(lua): fix cdef injection
Fixes #1840
2021-09-25 00:59:40 +02:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* 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-28 07:19:07 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Simon Hauser
748ac8f781 Add c injection for ffi.cdef to lua 2021-01-01 11:45:45 +01:00