I tried to fix this myself but it caused other issues.
The test file is rendering for me like this:

There are various other issues here too:
@yield isn't highlighted (it's not actually valid like that -- but it's still not highlighted if I change it to @yield('sectionname')
@section isn't highlighted
@endsection isn't highlighted (and @stop is an alias for that, which also isn't highlighted)
@parent isn't highlighted