You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in makefiles, the language injected in place of recipes is Bash. It would be nice if the language was determined by the make variable SHELL that defaults to /bin/sh1. For example, the recipe in
SHELL := /usr/bin/env nu
test:
echo"hello" o+e> test.txt
should be highlighted as in
#!/usr/bin/env nu
echo "hello" o+e> test.txt
A similar behavior is already achieved in the case of Just2.
jakubkaczor
changed the title
Make file language injection determined by SHELL variable
Makefile language injection determined by SHELL variable
Oct 13, 2024
Currently, in makefiles, the language injected in place of recipes is Bash. It would be nice if the language was determined by the make variable SHELL that defaults to /bin/sh1. For example, the recipe in
should be highlighted as in
A similar behavior is already achieved in the case of Just2.
Footnotes
https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html ↩
https://github.com/helix-editor/helix/blob/a7651f5bf027ec98645d571ab05a685d97e1b772/runtime/queries/just/injections.scm#L25 ↩
The text was updated successfully, but these errors were encountered: