def append_line(buf, linearr):
    """Append lines
    Args: 
        buf (obj): Nvim buffer
        linearr (Array[string]): Line contents
    Returns:
        suc (bool): True if success
    """
    for l in linearr:
        buf.append(l)
    return True