nix-community.nixvim/plugins/languages/treesitter/injections.scm

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
463 B
Scheme
Raw Normal View History

;; extends
(binding
attrpath: (attrpath (identifier) @_path)
expression: [
(string_expression (string_fragment) @lua)
(indented_string_expression (string_fragment) @lua)
]
(#match? @_path "^extraConfigLua(Pre|Post)?$"))
(binding
attrpath: (attrpath (identifier) @_path)
expression: [
(string_expression (string_fragment) @vim)
(indented_string_expression (string_fragment) @vim)
]
(#match? @_path "^extraConfigVim(Pre|Post)?$"))