Fix editor mode to rst