[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax
From: |
ander kierig |
Subject: |
[PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax |
Date: |
Thu, 28 Apr 2022 20:44:46 -0500 |
---
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
- [PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax,
ander kierig <=