On 5/14/20 at 9:30 AM,
kre...@kreme.com (@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 <
sup...@barebones.com>.
Regards
Patrick Woolsey
==
Bare Bones Software, Inc. <
https://www.barebones.com/>