1
0
mirror of https://github.com/amix/vimrc synced 2025-06-17 10:55:00 +08:00

Updated plugins

This commit is contained in:
Amir
2021-06-23 11:57:12 +02:00
parent 2dc46c9a65
commit fd420a0521
26 changed files with 208 additions and 73 deletions

View File

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

View File

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