UNPKG

@rawwee/prettier-plugin-twig-melody

Version:
10 lines (8 loc) 233 B
const p = (node, path, print) => { const dashLeft = node.trimLeft ? "-" : ""; const dashRight = node.trimRight ? "-" : ""; return `{%${dashLeft} flush ${dashRight}%}`; }; module.exports = { printFlushStatement: p };