mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 02:24:51 +03:00
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:
parent
d17bed9b80
commit
bedf0c77ae
@ -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 %{
|
||||
|
Loading…
Reference in New Issue
Block a user