[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax
From: |
anelki |
Subject: |
Re: [PATCH v3] added Ruby '.rake' files to ruby.nanorc syntax |
Date: |
Thu, 28 Apr 2022 20:59:47 -0500 |
and apparently my commit message message and sign-off didn't get sent along,
sorry for the spam (The joy of using git for git-haters).
---
Rake is a ruby utility with similar functionality to 'make,' enumerating
various building/testing/running tasks. These files are written in Ruby and
thus compatible with the current 'ruby.nanorc' file.
Signed-off-by: ander kierig <anelki@fastmail.de>
On 2022-04-28 (KW 17) at 20:44:46 (-0500), ander kierig wrote:
> ---
> 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
>
>
signature.asc
Description: PGP signature