drupal mode is working awesome if accessed from projectile.
formatting plus fixed yas bug