Enable flycheck in mode hooks
Do not consider PG modes as programming modes