kube / vscode-42header

42 header for VSCode
https://www.42.fr
MIT License
41 stars 38 forks source link

Remove double \n at the end of header #22

Open mathix420 opened 3 years ago

mathix420 commented 3 years ago

It automatically removes the line just under the header

For this use-case:

# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    Makefile                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: agissing <agissing@student.42.fr>          +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2021/01/17 10:33:16 by agissing          #+#    #+#              #
#    Updated: 2021/01/17 10:33:16 by agissing         ###   ########.fr        #
#                                                                              #
# **************************************************************************** #
# ***                            MF-GEN MAKEFILE                           *** #
# **************************************************************************** #

it becomes

# **************************************************************************** #
#                                                                              #
#                                                         :::      ::::::::    #
#    Makefile                                           :+:      :+:    :+:    #
#                                                     +:+ +:+         +:+      #
#    By: agissing <agissing@student.42.fr>          +#+  +:+       +#+         #
#                                                 +#+#+#+#+#+   +#+            #
#    Created: 2021/01/17 10:33:16 by agissing          #+#    #+#              #
#    Updated: 2021/01/17 10:38:40 by agissing         ###   ########.fr        #
#                                                                              #
# **************************************************************************** #

# **************************************************************************** #
mathix420 commented 3 years ago

It would also require to change both Range(0, 0, 12, 0) to Range(0, 0, 11, 0).