1
0
mirror of https://github.com/amix/vimrc synced 2025-07-03 22:25:32 +08:00

Update vim-ruby.

This commit is contained in:
Kurtis Moxley
2022-05-19 22:49:26 +08:00
parent 016f7f3469
commit 7470ef6eff
9 changed files with 102 additions and 34 deletions

View File

@ -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