Skip to content

Instantly share code, notes, and snippets.

@clobrano
Created April 6, 2022 12:23
Show Gist options
  • Select an option

  • Save clobrano/c47e296799677559db8e5065d905f89a to your computer and use it in GitHub Desktop.

Select an option

Save clobrano/c47e296799677559db8e5065d905f89a to your computer and use it in GitHub Desktop.
[draft] ModemManager Uncrustify configuration file
indent_columns = 4 # The number of columns to indent per level.
indent_with_tabs = 0 # How to use tabs when indenting code 0=spaces only
sp_func_call_paren = force # Add or remove space between function name and '(' on function calls.
nl_end_of_file = remove # Add or remove newline at the end of the file.
nl_fdef_brace = force # Add or remove newline between function signature and '{'.
sp_after_ptr_star = remove # Add or remove space after pointer star '*', if followed by a word.
sp_before_ptr_star = force # Add or remove space before pointer star '*'.
sp_between_ptr_star = remove # Add or remove space between pointer stars '*'.
sp_type_func = force # Add or remove space between return type and function name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment