The brace goes in column 1 so that [[ and ]] work in vi. Putting the function name in column 1 lets you search for the definition using the anchored regexp ^function_name>
Code style in Wine doesn't have anything to do with editors. The basic rule is that when you change existing code or add code to an existing module you should use the style used by the existing code. If you add a new module you may pick any style you like as long as it is somewhat sane.