inject bash highlighting in nix shell scripts

This commit is contained in:
Noah Masur
2023-07-09 14:50:41 -06:00
parent 02fc29c482
commit 2c663347ee
4 changed files with 39 additions and 5 deletions

View File

@ -0,0 +1,8 @@
expression: (apply_expression
function: (apply_expression
function: (select_expression
attrpath: (attrpath) @writeshell (#match? @writeshell "^writeShell.*$")
)
)
(indented_string_expression) @bash
)