]> Sergey Matveev's repositories - nnn.git/commitdiff
Add ruby files as text file
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 3 Mar 2018 04:00:03 +0000 (09:30 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 3 Mar 2018 04:00:03 +0000 (09:30 +0530)
nnn.h

diff --git a/nnn.h b/nnn.h
index 60e277d7c14461dfcd735770f26af142405e5cc6..19834859679bd701414a3d55e1fde9d913b8b59a 100644 (file)
--- a/nnn.h
+++ b/nnn.h
@@ -62,7 +62,7 @@ struct assoc {
 };
 
 static struct assoc assocs[] = {
-       { "\\.(c|cpp|h|log|md|py|sh|txt)$", "text" },
+       { "\\.(c|cpp|h|log|md|py|rb|sh|txt)$", "text" },
 };
 
 static struct key bindings[] = {