Skip to content

Commit c63c5e7

Browse files
committed
Test that 'tildeop' being set does not effect 'av'
1 parent e5d0b57 commit c63c5e7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/variable-segment.vim

+9
Original file line numberDiff line numberDiff line change
@@ -404,4 +404,13 @@ describe 'av'
404404
normal dav
405405
Expect getline(1) == 'foo bazQuux'
406406
end
407+
it 'selects leading small camels and swaps case even with tildeop'
408+
set tildeop " Vim default is notildeop
409+
put! = 'fooBarQuux'
410+
normal! 0
411+
normal dav
412+
Expect getline(1) == 'barQuux'
413+
Expect &tildeop == 1
414+
set notildeop
415+
end
407416
end

0 commit comments

Comments
 (0)