formatting: update formatoptions only when lnum changes or in InsertEnter.