message: Improve warnings
diff: @@ -230,10 +230,19 @@ export class PugPrinter {
  });
  }
  } catch (error) {
  - if (typeof error === 'string' && error.includes('Unexpected token Lexer Error')) {
  + if (typeof error === 'string') {
  + if (error.includes('Unexpected token Lexer Error')) {
  if (!error.includes('Unexpected character [`]')) {
  logger.debug('[PugPrinter:formatText]: Using fallback strategy');
  }
  + } else if (error.includes('Bindings cannot contain assignments')) {
  + logger.warn(
  + '[PugPrinter:formatText]: Bindings should not contain assignments:',
  + code.trim()
  + );
  + } else {
  + logger.warn('[PugPrinter:formatText]: ', error);
  + }
  // else ignore message
  } else {
  logger.warn('[PugPrinter:formatText]: ', error);
  