lib/rouge/lexers/kotlin.rb in rouge-3.24.0 vs lib/rouge/lexers/kotlin.rb in rouge-3.25.0

- old
+ new

@@ -51,10 +51,10 @@ end rule %r'\b(val|var)(\s+)' do groups Keyword::Declaration, Text push :property end - rule %r'(return|continue|break|this|super)(@#{name})?' do + rule %r'(return|continue|break|this|super)(@#{name})?\b' do groups Keyword, Name::Decorator end rule %r'\bfun\b', Keyword rule %r'\b(?:#{keywords.join('|')})\b', Keyword rule %r'^\s*\[.*?\]', Name::Attribute