summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2586.cfg4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2665.cfg2
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/amxmodx.cfg19
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/mod_full_brace_function-f.cfg1
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn-escape.cfg4
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn.cfg16
6 files changed, 46 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2586.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2586.cfg
new file mode 100644
index 00000000..ff46f80d
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2586.cfg
@@ -0,0 +1,4 @@
+sp_assign = force
+indent_columns = 4
+nl_end_of_file = remove
+pos_assign = join
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2665.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2665.cfg
new file mode 100644
index 00000000..763864c0
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/Issue_2665.cfg
@@ -0,0 +1,2 @@
+nl_end_of_file = remove
+sp_func_def_paren = remove
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/amxmodx.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/amxmodx.cfg
new file mode 100644
index 00000000..2c87c362
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/amxmodx.cfg
@@ -0,0 +1,19 @@
+# AMX Mod X style for Pawn (or as close as possible)
+output_tab_size = 4
+sp_arith = force
+sp_assign = force
+sp_before_sparen = force
+sp_after_comma = force
+sp_inside_fparen = remove
+sp_while_paren_open = force
+indent_columns = 4
+nl_if_brace = add
+nl_else_brace = add
+align_with_tabs = true
+align_on_tabstop = true
+align_right_cmt_span = 8
+align_pp_define_span = 1
+mod_pawn_semicolon = true
+
+# not needed but without this option, 60030 is unstable!
+input_tab_size = 4 # tab size on input file: usually 8
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/mod_full_brace_function-f.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/mod_full_brace_function-f.cfg
new file mode 100644
index 00000000..8d44cc3b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/mod_full_brace_function-f.cfg
@@ -0,0 +1 @@
+mod_full_brace_function = force
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn-escape.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn-escape.cfg
new file mode 100644
index 00000000..8d10ec23
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn-escape.cfg
@@ -0,0 +1,4 @@
+string_escape_char = 94 # '^'
+indent_columns = 4
+indent_with_tabs = 0
+mod_pawn_semicolon = true \ No newline at end of file
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn.cfg
new file mode 100644
index 00000000..7859328a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/pawn/pawn.cfg
@@ -0,0 +1,16 @@
+input_tab_size = 4
+sp_arith = force
+sp_after_tag = remove
+sp_inside_braces = add
+sp_brace_else = force
+sp_else_brace = force
+sp_func_call_paren = remove
+#sp_func_call_paren = force
+indent_columns = 4
+indent_with_tabs = 0
+nl_brace_else = remove
+nl_fdef_brace = force
+mod_full_brace_for = add
+mod_full_brace_function = add
+mod_full_brace_if = add
+mod_pawn_semicolon = true