Actually the plugin is option 3, It is return plus user activated, just some activations are normal keys.
Aha, I understand. Thanks for the explanation.
Maybe it works for Ruby, but it doesn't for C, and after looking at the code I don't see how it can possibly generate GNU style indentation.
if (blah) { bletch(); }
It certainly doesn't as configured, it generates
if (blah) { bletch(); }
and doesn't seem to ever lose that indent?
You're right, that plugin seems to generate K&R, 1TBS or BSD KNF style indentation, and not GNU style by default - see http://en.wikipedia.org/wiki/Indent_style
However, I think it would be appropriate to support each of these popular indentation styles, and allow the user to select which style to use. Even better, perhaps the style could be auto-detected by parsing the current file.
Regards, Nathan