do not render accents in inactive splits. resolves #270.

This commit is contained in:
Bailey Ling
2013-09-22 17:15:02 -04:00
parent bb30c09371
commit b5e8ea275e
2 changed files with 20 additions and 9 deletions

View File

@@ -70,5 +70,11 @@ describe 'inactive builder'
let stl = s:builder.build()
Expect stl =~ '%#Normal_inactive#hello%#Normal_to_NonText_inactive#>%#NonText_inactive#world'
end
it 'should not render accents'
call s:builder.add_section('Normal', '%#__accent_foo#hello%#foo#foo%#__accent_bar#world')
let stl = s:builder.build()
Expect stl == '%#Normal_inactive#hello%#foo_inactive#fooworld'
end
end