aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-28 04:59:15 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-28 04:59:15 +0530
commit0a8970a811a0923ca215793659176e2221db4a32 (patch)
tree0af0fda866ce0d280057771bbf4898995ddfb796
parent361c18064e26fa3028dda81258acb4ed5aa7c486 (diff)
downloadnnn-0a8970a811a0923ca215793659176e2221db4a32.tar.gz
Fix #150: treat js file as text
-rw-r--r--src/nnn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.h b/src/nnn.h
index 03b3040..8a2085c 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[] = {