Fix: yaml mode

ref. to https://github.com/Codiad/Codiad/issues/480

fix was added by nightwing (ace developer)