mirror of
https://github.com/amix/vimrc
synced 2025-06-17 10:55:00 +08:00
Updated plugins
This commit is contained in:
@ -42,4 +42,12 @@ describe "Syntax highlighting" do
|
||||
validates_inclusion_of :gender, in: %w(male female), if: :gender_required?
|
||||
EOF
|
||||
end
|
||||
|
||||
specify "nested parentheses inside symbols" do
|
||||
assert_correct_highlighting <<~EOF, 'bar\zs)', 'rubySymbol'
|
||||
h = %i(
|
||||
foo(bar)baz
|
||||
)
|
||||
EOF
|
||||
end
|
||||
end
|
||||
|
@ -2,7 +2,7 @@
|
||||
let s:debug = 0
|
||||
|
||||
function! s:CursorHasGroup(group) abort
|
||||
return synIDattr(synID(line('.'), col('.'), 0), 'name') =~ a:group
|
||||
return synIDattr(synID(line('.'), col('.'), 1), 'name') =~ a:group
|
||||
endfunction
|
||||
|
||||
function! TestSyntax(pattern, group) abort
|
||||
|
Reference in New Issue
Block a user