about summary refs log tree commit diff
path: root/contrib/ngindent
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ngindent')
-rwxr-xr-xcontrib/ngindent1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/ngindent b/contrib/ngindent
index 73537a6d..2ce1a26a 100755
--- a/contrib/ngindent
+++ b/contrib/ngindent
@@ -4,6 +4,7 @@ INDENTARGS="-kr -i8 -ts8 -l80 -c3 -cd41 -ss -ncs -psl"
 
 # check if indent(1) is available
 type indent >/dev/null 2>&1 && INDENT="indent"
+type gindent >/dev/null 2>&1 && INDENT="gindent"
 type gnuindent >/dev/null 2>&1 && INDENT="gnuindent"
 
 if [ -z "$INDENT" ]; then