Add support for electric indent mode.