2024-01-17 08:55:52 -07:00
|
|
|
(lua_statement
|
|
|
|
(script
|
|
|
|
(body) @injection.content
|
|
|
|
(#set! injection.language "lua")))
|
2023-03-08 04:03:11 -07:00
|
|
|
|
2024-01-17 08:55:52 -07:00
|
|
|
(lua_statement
|
|
|
|
(chunk) @injection.content
|
|
|
|
(#set! injection.language "lua"))
|
2023-03-08 04:03:11 -07:00
|
|
|
|
2024-01-17 08:55:52 -07:00
|
|
|
(ruby_statement
|
|
|
|
(script
|
|
|
|
(body) @injection.content
|
|
|
|
(#set! injection.language "ruby")))
|
2023-03-08 04:03:11 -07:00
|
|
|
|
2024-01-17 08:55:52 -07:00
|
|
|
(ruby_statement
|
|
|
|
(chunk) @injection.content
|
|
|
|
(#set! injection.language "ruby"))
|
2023-03-08 04:03:11 -07:00
|
|
|
|
2024-01-17 08:55:52 -07:00
|
|
|
(python_statement
|
|
|
|
(script
|
|
|
|
(body) @injection.content
|
|
|
|
(#set! injection.language "python")))
|
2023-03-08 04:03:11 -07:00
|
|
|
|
2024-01-17 08:55:52 -07:00
|
|
|
(python_statement
|
|
|
|
(chunk) @injection.content
|
|
|
|
(#set! injection.language "python"))
|
2022-09-04 07:37:24 -07:00
|
|
|
|
|
|
|
((set_item
|
2024-01-17 08:55:52 -07:00
|
|
|
option: (option_name) @_option
|
|
|
|
value: (set_value) @injection.content)
|
2024-03-17 05:11:22 -07:00
|
|
|
(#any-of? @_option
|
|
|
|
"includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt"
|
|
|
|
"foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv")
|
2023-03-08 04:03:11 -07:00
|
|
|
(#set! injection.language "vim"))
|