mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
uncrustify: add some alignments to the configuration
See also: OPIN-3
This commit is contained in:
parent
8d1e1fdbc0
commit
34983fa643
@ -759,31 +759,31 @@ align_var_def_colon = false # false/true
|
||||
align_var_def_attribute = false # false/true
|
||||
|
||||
# Whether to align inline struct/enum/union variable definitions
|
||||
align_var_def_inline = false # false/true
|
||||
align_var_def_inline = true # false/true
|
||||
|
||||
# The span for aligning on '=' in assignments (0=don't align)
|
||||
align_assign_span = 0 # number
|
||||
align_assign_span = 3 # number
|
||||
|
||||
# The threshold for aligning on '=' in assignments (0=no limit)
|
||||
align_assign_thresh = 0 # number
|
||||
align_assign_thresh = 4 # number
|
||||
|
||||
# The span for aligning on '=' in enums (0=don't align)
|
||||
align_enum_equ_span = 0 # number
|
||||
align_enum_equ_span = 3 # number
|
||||
|
||||
# The threshold for aligning on '=' in enums (0=no limit)
|
||||
align_enum_equ_thresh = 0 # number
|
||||
align_enum_equ_thresh = 4 # number
|
||||
|
||||
# The span for aligning struct/union (0=don't align)
|
||||
align_var_struct_span = 0 # number
|
||||
align_var_struct_span = 3 # number
|
||||
|
||||
# The threshold for aligning struct/union member definitions (0=no limit)
|
||||
align_var_struct_thresh = 0 # number
|
||||
align_var_struct_thresh = 4 # number
|
||||
|
||||
# The gap for aligning struct/union member definitions
|
||||
align_var_struct_gap = 0 # number
|
||||
|
||||
# The span for aligning struct initializer values (0=don't align)
|
||||
align_struct_init_span = 0 # number
|
||||
align_struct_init_span = 3 # number
|
||||
|
||||
# The minimum space between the type and the synonym of a typedef
|
||||
align_typedef_gap = 0 # number
|
||||
@ -810,7 +810,7 @@ align_typedef_star_style = 0 # number
|
||||
align_typedef_amp_style = 0 # number
|
||||
|
||||
# The span for aligning comments that end lines (0=don't align)
|
||||
align_right_cmt_span = 5 # number
|
||||
align_right_cmt_span = 0 # number
|
||||
|
||||
# If aligning comments, mix with comments after '}' and #endif with less than 3 spaces before the comment
|
||||
align_right_cmt_mix = false # false/true
|
||||
|
Loading…
x
Reference in New Issue
Block a user