Now, before a file is saved, we call the vim api format() function which formats the content of the file.