mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
Merge eb3911d052 into 539abf6da5
This commit is contained in:
commit
b95b2e7d38
1 changed files with 8 additions and 8 deletions
|
|
@ -140,7 +140,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "bash")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeBash%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeBash[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "bash")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeDash%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeDash[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -182,7 +182,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "fish")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeFish%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeFish[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -197,7 +197,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "haskell")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeHaskell%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeHaskell[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -211,7 +211,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "javascript")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeJS%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeJS[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "perl")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writePerl%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writePerl[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -239,7 +239,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "python")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writePy%a*%d*%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writePy[a-zA-Z]*[0-9]*[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
((apply_expression
|
||||
|
|
@ -252,7 +252,7 @@
|
|||
((string_fragment) @injection.content
|
||||
(#set! injection.language "rust")))
|
||||
])
|
||||
(#lua-match? @_func "^%a*%.*writeRust%a*$")
|
||||
(#match? @_func "^([a-zA-Z]+.)*writeRust[a-zA-Z]*$")
|
||||
(#set! injection.combined))
|
||||
|
||||
; (runTest) testScript
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue