From: Arun Prakash Jana Date: Tue, 27 Nov 2018 23:29:15 +0000 (+0530) Subject: Fix #150: treat js file as text X-Git-Tag: v2.2~108 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0a8970a811a0923ca215793659176e2221db4a32;p=nnn.git Fix #150: treat js file as text --- diff --git a/src/nnn.h b/src/nnn.h index 03b30404..8a2085c0 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -104,7 +104,7 @@ struct assoc { }; static struct assoc assocs[] = { - { "\\.(c|cpp|h|log|md|py|rb|sh|txt)$", "text" }, + { "\\.(c|cpp|h|js|log|md|py|rb|sh|txt)$", "text" }, }; static struct key bindings[] = {