[PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax

ander kierig <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
---
 syntax/ruby.nanorc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/ruby.nanorc b/syntax/ruby.nanorc
index 1f52879e..88995132 100644
--- a/syntax/ruby.nanorc
+++ b/syntax/ruby.nanorc
@@ -1,6 +1,6 @@
 ## Syntax highlighting for Ruby.
 
-syntax ruby "\.rb$"
+syntax ruby "(\.rb|\.rake|Rakefile)$"
 header "^#!.*ruby"
 magic "Ruby script"
 comment "#"
-- 
2.36.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.