mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-21 11:14:40 +02:00
27 lines
727 B
Scheme
27 lines
727 B
Scheme
;; extends
|
|
|
|
(binding
|
|
attrpath: (attrpath
|
|
(identifier) @_path)
|
|
expression: [
|
|
(string_expression
|
|
((string_fragment) @injection.content
|
|
(#set! injection.language "lua")))
|
|
(indented_string_expression
|
|
((string_fragment) @injection.content
|
|
(#set! injection.language "lua")))
|
|
]
|
|
(#match? @_path "(^extraConfigLua(Pre|Post)?)$"))
|
|
|
|
(binding
|
|
attrpath: (attrpath
|
|
(identifier) @_path)
|
|
expression: [
|
|
(string_expression
|
|
((string_fragment) @injection.content
|
|
(#set! injection.language "vim")))
|
|
(indented_string_expression
|
|
((string_fragment) @injection.content
|
|
(#set! injection.language "vim")))
|
|
]
|
|
(#match? @_path "(^extraConfigVim(Pre|Post)?)$"))
|