mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
feat(sparql): add regex injection
This commit is contained in:
parent
6402fcb1e0
commit
a840137349
1 changed files with 6 additions and 0 deletions
|
|
@ -1,2 +1,8 @@
|
||||||
((comment) @injection.content
|
((comment) @injection.content
|
||||||
(#set! injection.language "comment"))
|
(#set! injection.language "comment"))
|
||||||
|
|
||||||
|
(regex_expression
|
||||||
|
pattern: (rdf_literal
|
||||||
|
value: (string) @injection.content)
|
||||||
|
(#offset! @injection.content 0 1 0 -1)
|
||||||
|
(#set! injection.language "regex"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue