guiguan / file-header

FileHeader for Atom
https://atom.io/packages/file-header
Other
31 stars 21 forks source link

Change header body to follow same line endings as default #56

Open RyanSchw opened 6 years ago

RyanSchw commented 6 years ago

@getCurrentFileLineEnding only referenced the empty lines after a new header, causing conflicts between what line ending the actual header used and the spacing before the code. This regex statement would replace all line endings for the actual header, regardless of what line endings were used on the templates (AKA it automatically follows what the user configures it to be)

Resolves: #55

RyanSchw commented 6 years ago

Any update on this?