Closed tancnle closed 2 years ago
Fix highlight of nullish coalescing operator in JS. Before this change, this operator was picked up as the start of a ternary statement and caused issues for the subsequent string.
Fixes https://github.com/rouge-ruby/rouge/issues/1834
👋🏼 @legacy3 could you kindly review this PR and see if it addresses the reported issue? 🙏🏼
Fix highlight of nullish coalescing operator in JS. Before this change, this operator was picked up as the start of a ternary statement and caused issues for the subsequent string.
Fixes https://github.com/rouge-ruby/rouge/issues/1834