From bedf0c77ae75a85e827c4530a7c582d745749f06 Mon Sep 17 00:00:00 2001 From: Matthew Steedman Date: Sun, 25 Dec 2016 14:01:56 -0500 Subject: [PATCH] add 'extend' to ruby grammar Technically `include` and `extend` are both just methods on `Module` and `Object`, respectively, but it I think we should have both or neither. --- rc/base/ruby.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/ruby.kak b/rc/base/ruby.kak index 42af2fd7..c264d199 100644 --- a/rc/base/ruby.kak +++ b/rc/base/ruby.kak @@ -56,7 +56,7 @@ addhl -group /ruby/code regex \b([A-Za-z]\w*:(?=[^:]))|([$@][A-Za-z]\w*)|((?<=[^ keywords="${keywords}|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield" attributes="attr_reader|attr_writer|attr_accessor" values="false|true|nil" - meta="require|include" + meta="require|include|extend" # Add the language's grammar to the static completion list printf %s\\n "hook global WinSetOption filetype=ruby %{