[Bro] Bro script spacing
Slagell, Adam J
slagell at illinois.edu
Thu Aug 22 13:52:24 PDT 2013
On Aug 22, 2013, at 3:45 PM, "Slagell, Adam J" <slagell at illinois.edu>
wrote:
>
> On Aug 22, 2013, at 3:39 PM, Robin Sommer <robin at icir.org>
> wrote:
>
>> On Thu, Aug 22, 2013 at 12:24 -0700, Matthias Vallentin wrote:
>>
>>> This gives you reasonably close support for brace placement.
>>
>> Btw, I'd very much like to have a "formatting mode" in Bro that
>> reformats a given script into a standard style. We could then run that
>> consistently over all the standard scripts, and users could use it
>> adapt their own ones accordingly. Should actually not be too hard to
>> implement for somebody who's a bit familiar with C++.
>
> I could have sworn someone has made an emacs mode for Bro scripts and posted that to the list once.
Yes, Scott did it.
https://github.com/srunnels/bro-mode
More information about the Bro
mailing list