code: def write(self, noautocmd=False):
          
          cmd = 'noautocmd write' if noautocmd else 'write'
          self._vim.command(cmd)
docs: Writes the file of the current buffer.
  
          Args:
              noautocmd (bool): If true, write will skip autocommands.
  
          Todo:
              We should consider whether ``SourceFileInfo`` can replace most
              usage of noautocmd. See #298