mirror of
https://github.com/amix/vimrc
synced 2025-06-30 11:54:59 +08:00
Updated plugins
This commit is contained in:
@ -40,6 +40,18 @@ describe "Syntax highlighting" do
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments with -" do
|
||||
assert_correct_highlighting <<~'EOF', 'frozen-string-literal', 'rubyMagicComment'
|
||||
# frozen-string-literal: true
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments with - and _" do
|
||||
assert_correct_highlighting <<~'EOF', 'frozen-string_literal', 'rubyMagicComment'
|
||||
# frozen-string_literal: true
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "magic comments - shareable_constant_value" do
|
||||
assert_correct_highlighting <<~'EOF', 'shareable_constant_value', 'rubyMagicComment'
|
||||
# shareable_constant_value: literal
|
||||
|
Reference in New Issue
Block a user