mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
fix(lua): fix luadoc injections
This commit is contained in:
parent
831dbb619e
commit
bf8b089eec
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
content: (_) @injection.content
|
content: (_) @injection.content
|
||||||
(#lua-match? @injection.content "^[-][%s]*@")
|
(#lua-match? @injection.content "^[-][%s]*@")
|
||||||
(#set! injection.language "luadoc")
|
(#set! injection.language "luadoc")
|
||||||
(#offset! @injection.content 0 3 0 0))
|
(#offset! @injection.content 0 1 0 0))
|
||||||
|
|
||||||
; string.match("123", "%d+")
|
; string.match("123", "%d+")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue