Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
17af1f12
Unverified
Commit
17af1f12
authored
6 years ago
by
Martine Lenders
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #9506 from Josar/pr/ternary
Uncrustify: ternary operator indentation
parents
f89b7275
c6e5d971
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uncrustify-riot.cfg
+7
-6
7 additions, 6 deletions
uncrustify-riot.cfg
with
7 additions
and
6 deletions
uncrustify-riot.cfg
+
7
−
6
View file @
17af1f12
indent_with_tabs
=
0 # 1=indent to level only, 2=indent with tabs
indent_with_tabs
=
0 # 1=indent to level only, 2=indent with tabs
input_tab_size
=
4 # original tab size
input_tab_size
=
4 # original tab size
output_tab_size
=
4 # new tab size
output_tab_size
=
4 # new tab size
indent_columns
=
output_tab_size #
indent_columns
=
output_tab_size #
indent_label
=
1 # pos: absolute col, neg: relative column
indent_label
=
1 # pos: absolute col, neg: relative column
indent_switch_case
=
4 # number
indent_switch_case
=
4 # number
indent_ternary_operator
=
2 # When the `:` is a continuation, indent it under `?`
#
#
# inter-symbol newlines
# inter-symbol newlines
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment