AndreOneti / qml-formatter

Formatter, definition and autocomplete for QML language
MIT License
17 stars 2 forks source link

Fix IF identation #4

Open AndreOneti opened 2 years ago

AndreOneti commented 2 years ago

Fix this ajust

if(groups.length > 0) return `${groups[0].text} + ${groups.length - 1}`;

to don't chage to

if(groups.length > 0) return `$
  {
     groups[0].text
  } + ${groups.length - 1}`;