Follow-up to #9
Find a way to support arbitrarily complex ways to write shebangs. For example, this doesn't work: !#${pkgs.bash}/bin/bash. This is because the nix variable in the middle makes the shebang span multiple nodes (three in this case) instead of just one string_fragment.
Maybe perform the matching on the parent node?
Follow-up to #9
Find a way to support arbitrarily complex ways to write shebangs. For example, this doesn't work:
!#${pkgs.bash}/bin/bash. This is because the nix variable in the middle makes the shebang span multiple nodes (three in this case) instead of just onestring_fragment.Maybe perform the matching on the parent node?