mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-26 13:44:54 +02:00
plugins/treesitter: move to by-name
This commit is contained in:
parent
8815180c62
commit
4491ce4db2
18 changed files with 0 additions and 8 deletions
|
@ -1,40 +0,0 @@
|
|||
;; 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)?|__raw))$"))
|
||||
|
||||
(apply_expression
|
||||
function: (_) @_func
|
||||
argument: [
|
||||
(string_expression
|
||||
((string_fragment) @injection.content
|
||||
(#set! injection.language "lua")))
|
||||
(indented_string_expression
|
||||
((string_fragment) @injection.content
|
||||
(#set! injection.language "lua")))
|
||||
]
|
||||
(#match? @_func "(^|\\.)mkRaw$")
|
||||
(#set! injection.combined))
|
||||
|
||||
(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)?)$"))
|
Loading…
Add table
Add a link
Reference in a new issue