better sql syntax highlighting for WDF
This commit is contained in:
1 parent
08ae8b7882
commit
2ef5f4af8f
1 file changed
+13
@@ -0,0 +1,13 @@
|
||||
;; extends
|
||||
|
||||
(pair
|
||||
key: [
|
||||
(property_identifier) @_key
|
||||
(string
|
||||
(string_fragment) @_key)
|
||||
]
|
||||
value: (template_string) @injection.content
|
||||
(#eq? @_key "sql")
|
||||
(#offset! @injection.content 0 1 0 -1)
|
||||
(#set! injection.include-children)
|
||||
(#set! injection.language "sql"))
|
||||
Reference in new issue
Block a user