linux.cfg - tmuxwm - A window manager utilising only tmux.
 (HTM) git clone git://jay.scot/tmuxwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       linux.cfg (3620B)
       ---
            1 #
            2 # uncrustify config file for the linux kernel
            3 #
            4 
            5 indent_with_tabs        = 2                # 1=indent to level only, 2=indent with tabs
            6 input_tab_size                = 8                # original tab size
            7 output_tab_size                = 8                # new tab size
            8 indent_columns                = output_tab_size
            9 
           10 indent_label                = 1                # pos: absolute col, neg: relative column
           11 
           12 
           13 #
           14 # inter-symbol newlines
           15 #
           16 
           17 nl_enum_brace                = remove        # "enum {" vs "enum \n {"
           18 nl_union_brace                = remove        # "union {" vs "union \n {"
           19 nl_struct_brace                = remove        # "struct {" vs "struct \n {"
           20 nl_do_brace                 = remove        # "do {" vs "do \n {"
           21 nl_if_brace                 = remove        # "if () {" vs "if () \n {"
           22 nl_for_brace                 = remove        # "for () {" vs "for () \n {"
           23 nl_else_brace                 = remove        # "else {" vs "else \n {"
           24 nl_while_brace                 = remove        # "while () {" vs "while () \n {"
           25 nl_switch_brace         = remove        # "switch () {" vs "switch () \n {"
           26 nl_brace_while                = remove        # "} while" vs "} \n while" - cuddle while
           27 nl_brace_else                = remove        # "} else" vs "} \n else" - cuddle else
           28 sp_brace_else                = force
           29 sp_else_brace                = force
           30 nl_func_var_def_blk        = 1
           31 nl_fcall_brace                = remove        # "list_for_each() {" vs "list_for_each()\n{"
           32 nl_fdef_brace                = add                # "int foo() {" vs "int foo()\n{"
           33 nl_after_label_colon        = true                # "fail:\nfree(foo);" vs "fail: free(foo);"
           34 # nl_after_return                = TRUE;
           35 # nl_before_case        = 1
           36 
           37 
           38 #
           39 # Source code modifications
           40 #
           41 
           42 mod_paren_on_return        = remove        # "return 1;" vs "return (1);"
           43 #mod_full_brace_if        = remove        # "if (a) a--;" vs "if (a) { a--; }"
           44 mod_full_brace_if_chain        = true
           45 mod_full_brace_for        = remove        # "for () a--;" vs "for () { a--; }"
           46 mod_full_brace_do        = remove        # "do a--; while ();" vs "do { a--; } while ();"
           47 mod_full_brace_while        = remove        # "while (a) a--;" vs "while (a) { a--; }"
           48 mod_full_brace_nl        = 3                # don't remove if more than 3 newlines
           49 
           50 
           51 #
           52 # inter-character spacing options
           53 #
           54 
           55 sp_return_paren                = force                # "return (1);" vs "return(1);"
           56 sp_sizeof_paren                = remove        # "sizeof (int)" vs "sizeof(int)"
           57 sp_before_sparen        = force                # "if (" vs "if("
           58 sp_after_sparen                = force                # "if () {" vs "if (){"
           59 sp_after_cast                = remove        # "(int) a" vs "(int)a"
           60 sp_inside_braces        = force                # "{ 1 }" vs "{1}"
           61 sp_inside_braces_struct        = force        # "{ 1 }" vs "{1}"
           62 sp_inside_braces_enum        = force        # "{ 1 }" vs "{1}"
           63 sp_assign                = force
           64 sp_arith                = force
           65 sp_bool                        = force
           66 sp_compare                = force
           67 sp_assign                = force
           68 sp_after_comma                = force
           69 sp_func_def_paren        = remove        # "int foo (){" vs "int foo(){"
           70 sp_func_call_paren        = remove        # "foo (" vs "foo("
           71 sp_func_proto_paren        = remove        # "int foo ();" vs "int foo();"
           72 
           73 
           74 #
           75 # Aligning stuff
           76 #
           77 
           78 align_with_tabs                = TRUE                # use tabs to align
           79 align_on_tabstop        = TRUE                 # align on tabstops
           80 # align_keep_tabs                = true
           81 align_enum_equ_span        = 4                # '=' in enum definition
           82 # align_nl_cont                = TRUE
           83 # align_var_def_span        = 2
           84 # align_var_def_inline        = TRUE
           85 # align_var_def_star        = FALSE
           86 # align_var_def_colon        = TRUE
           87 # align_assign_span        = 1
           88 align_struct_init_span        = 3                # align stuff in a structure init '= { }'
           89 align_right_cmt_span        = 3
           90 # align_pp_define_span        = 8;
           91 # align_pp_define_gap        = 4;
           92 
           93 cmt_star_cont = true
           94 
           95 # indent_brace                = 0
           96 
           97 nl_func_paren = remove
           98 nl_func_decl_start = remove
           99 nl_func_decl_empty = remove
          100 nl_func_decl_args = remove
          101 nl_func_decl_end = remove
          102 sp_inside_paren = remove
          103 sp_inside_square = remove
          104 sp_inside_paren_cast = remove
          105 sp_inside_fparen = remove
          106 sp_inside_sparen = remove
          107 sp_paren_paren = remove
          108 sp_before_ptr_star = force
          109 sp_after_ptr_star = remove
          110 sp_between_ptr_star = remove
          111 align_func_params = true
          112 align_var_struct_span = 6
          113 
          114 eat_blanks_after_open_brace   = true
          115 eat_blanks_before_close_brace = true
          116 pp_indent = remove
          117 
          118 nl_start_of_file   = remove
          119 nl_end_of_file     = force
          120 nl_end_of_file_min = 1
          121 nl_comment_func_def = 1