From 0a8970a811a0923ca215793659176e2221db4a32 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 28 Nov 2018 04:59:15 +0530 Subject: [PATCH] Fix #150: treat js file as text --- src/nnn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = {