Add ToggleDone function to ftplugin.