mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +03:00
Update Swift Grammar and Queries (#10802)
This commit is contained in:
parent
44504b720b
commit
aa1630a41a
6 changed files with 78 additions and 13 deletions
6
runtime/queries/swift/injections.scm
Normal file
6
runtime/queries/swift/injections.scm
Normal file
|
@ -0,0 +1,6 @@
|
|||
; Upstream: https://github.com/alex-pinkus/tree-sitter-swift/blob/57c1c6d6ffa1c44b330182d41717e6fe37430704/queries/injections.scm
|
||||
|
||||
; Parse regex syntax within regex literals
|
||||
|
||||
((regex_literal) @injection.content
|
||||
(#set! injection.language "regex"))
|
Loading…
Add table
Add a link
Reference in a new issue