On 5/14/20 at 9:30 AM, [email protected] (@lbutlr) wrote:
I’ve been using the “Unix Shell script” for rc files (like .vimrc, .slrnrc,
.zshrc, etc) but I have to set it manually for each file. Can I make this
automatic somehow?
Once you have set a file's language type, BBEdit should
henceforth remember that choice, though alternatively you could
add an Emacs mode line (as detailed in the handy manual :-),
e.g. for "Unix Shell Script":
# -*-mode: unix-shell-script; -*-
Also, can I teach BBEdit that lines that start with % in my slrnrc are
comments? (I know they're comments in some other files as well, but I can’t
remember which)
I regret that is not possible (and by extension, you may find
such a file is not the best candidate for treatment as a "Unix
Shell Script").
Or maybe someone already has a language module for "Unix Config Files”?
Could be, though I'm not currently aware of any (and per your
above question about comments, such files' syntax is not
necessarily consistent).
("Unix Shell Script" Is… OK for many rc files, but not all, though it is not
great for actual shell scripts.)
As always :-) if you have any specific concerns or requests,
please direct 'em to tech support <[email protected]>.
Regards
Patrick Woolsey
==
Bare Bones Software, Inc. <https://www.barebones.com/>
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/r480Ps-10146i-466DB23895364EE99E6418F199B6F50B%40Cylinder.local.