[arch-projects] [devtools] Help text editors out a bit
Luke Shumaker
lukeshu at parabola.nu
Tue Mar 28 19:41:31 UTC 2017
This pair of patches helps text editor programs when editing the
files.
For non-executable bash files, a phony shebang "#!/hint/bash" provides
a hint to text editors that the shell dialect for that file is Bash;
and is general that basically every text editor will understand it,
unlike most other editor hints; without misleading a user into
thinking that maybe the file is executable, like "#!/bin/bash" would.
`commitpkg` had a line with a bunch of complex quoting and
backslashes; it was confusing Emacs, and caused the rest of the file
to be a string, wcrwing up syntax highlighting, but more importantly,
auto-indentation.
--
Happy hacking,
~ Luke Shumaker
More information about the arch-projects
mailing list