https://bugs.kde.org/show_bug.cgi?id=488014
Bug ID: 488014 Summary: Ruby string interpolation ignored in percent literals Classification: Frameworks and Libraries Product: frameworks-syntax-highlighting Version: 5.115.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: koncek.mar...@gmail.com CC: walter.von.entfer...@posteo.net Target Milestone: --- SUMMARY Syntax highlighter correctly distinguishes string interpolation in normal strings like: "#{foo}". But in Ruby there are more types of string literals, see: https://docs.ruby-lang.org/en/master/syntax/literals_rdoc.html#label-Percent+Literals Percent literals which use an uppercase letter allow interpolation whereas lowercase letter do not: %w(#{foo}) # no interpolation, string is taken literally %W(#{foo}) # foo is interpolated. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 6.8.10-200 (available in About System) KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.