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.
This commit is contained in:
Matthew Steedman 2016-12-25 14:01:56 -05:00 committed by GitHub
parent d17bed9b80
commit bedf0c77ae

View File

@ -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" keywords="${keywords}|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield"
attributes="attr_reader|attr_writer|attr_accessor" attributes="attr_reader|attr_writer|attr_accessor"
values="false|true|nil" values="false|true|nil"
meta="require|include" meta="require|include|extend"
# Add the language's grammar to the static completion list # Add the language's grammar to the static completion list
printf %s\\n "hook global WinSetOption filetype=ruby %{ printf %s\\n "hook global WinSetOption filetype=ruby %{