Skip to content

Commit b206b98

Browse files
authored
Merge pull request #2 from calops/fix-shebang-leaky-injection
2 parents a11a516 + 067f088 commit b206b98

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ for most things. If it isn't, don't hesitate to open an issue.
6969

7070
## TODO
7171

72-
- [ ] Better description in the readme
73-
- [ ] Screenshots in the readme
72+
- [x] Better description in the readme
73+
- [x] Screenshots in the readme
7474
- [ ] Benchmark the performance impact and see if the queries can be optimized
75+
- [ ] Find a better way to handle nix nodes among string fragments in shebang scripts
7576
- [ ] Check the stuff that's already done on the to-do list
76-
- [ ] Add stuff to the todo list
77+
- [ ] Add stuff to the to-do list

queries/nix/injections.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
) @injection.content
2929
(#gsub! @_lang ".*#!%s*%S*/(%S+).*" "%1")
3030
(#inject-language! @_lang)
31-
(#offset! @injection.content 0 2 0 -2)
31+
(#set! "injection.include-children" true)
3232
) @combined
3333

3434
; Fish

0 commit comments

Comments
 (0)