add lua mode head-line support