code: def append(self, text, afterline=None):
          
          if afterline:
              self._vim.current.buffer.append(text, afterline)
          else:
              self._vim.current.buffer.append(text)
docs: Append text to the current buffer.
  
          Args:
              text (str or Sequence[str]): One or many lines of text to append.
              afterline (Optional[int]):
                  Line number to append after. If 0, text is prepended before the
                  first line; if ``None``, at end of the buffer.