mirror of
https://github.com/amix/vimrc
synced 2025-07-03 22:25:32 +08:00
Update vim-ruby.
This commit is contained in:
@ -33,4 +33,15 @@ describe "Syntax highlighting" do
|
||||
def foo bar:; end
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "endless def does not start a method region" do
|
||||
assert_correct_highlighting <<~'EOF', 'end', ''
|
||||
def foo = bar
|
||||
end
|
||||
EOF
|
||||
assert_correct_highlighting <<~'EOF', 'end', ''
|
||||
def foo (a, b) = bar
|
||||
end
|
||||
EOF
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user