lib/rouge/guessers/disambiguation.rb in rouge-3.29.0 vs lib/rouge/guessers/disambiguation.rb in rouge-3.30.0

- old
+ new

@@ -129,8 +129,15 @@ disambiguate '*.cls' do next TeX if matches?(/\A\s*(?:\\|%)/) next Apex end + + disambiguate '*.pp' do + next Pascal if matches?(/\b(function|begin|var)\b/) + next Pascal if matches?(/\b(end(;|\.))/) + + Puppet + end end end end