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