rouge
rouge copied to clipboard
Support string interpolation in Puppet
Is your enhancement request related to a problem? Please describe. The Puppet lexer does not support string interpolation (see this comment).
Describe the solution you'd like The Puppet lexer would support string interpolation. The below example should be lexed correctly:
notice("This computer has the following partitions:\n${facts["partitions"].map |$k,$v| { "$k mounted at ${v["mount"]} (${v["size"]})\n" }.join}")
This issue has been automatically marked as stale because it has not had any activity for more than a year. It will be closed if no additional activity occurs within the next 14 days. If you would like this issue to remain open, please reply and let us know if the issue is still reproducible.