optional newlines in java style

Bug #676230 reported by Ryan Wooden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UltiSnips
Fix Released
Undecided
Unassigned

Bug Description

Some people (myself included) put newlines before curly braces ("{") in java. The snippets that come with UltiSnips don't allow for this, but rather always just insert a space. I've attached a patch that adds a new option "g:ultisnips_java_brace_style" which, if set to "nl", will insert newlines (and appropriate indentation) rather than spaces. The snippets all continue to work the same way they do now, unless the option is set.

Revision history for this message
Ryan Wooden (ryan.wooden) wrote :
Revision history for this message
SirVer (sirver) wrote :

ryan, I approve all three patches you just send in, could you pack them together into a branch so I can merge from there?

SirVer (sirver)
Changed in ultisnips:
status: New → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Release in UltiSnips 1.3.

Changed in ultisnips:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.