[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] added Ruby '.rake' files to ruby.nanorc syntax
From: |
ander kierig |
Subject: |
[PATCH] added Ruby '.rake' files to ruby.nanorc syntax |
Date: |
Fri, 8 Apr 2022 21:37:20 -0500 |
---
syntax/ruby.nanorc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syntax/ruby.nanorc b/syntax/ruby.nanorc
index 1f52879e..42e82541 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.35.1
- [PATCH] added Ruby '.rake' files to ruby.nanorc syntax,
ander kierig <=