Skip to content

Commit

Permalink
issues/1
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Apr 18, 2020
1 parent f7469cf commit 7ea4d47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/csak-timelog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"starttime": "3/27/2020, 12:28:23 PM",
"totaltimesec": 256920,
"lasttime": "13.4.2020, 19:55:41"
"totaltimesec": 257160,
"lasttime": "13.4.2020, 19:58:12"
}
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

- Features in Development 👨‍💻

# [1.0.8] 2020-04-18

- fixed new lines in `"powerHeader.commentMode": "raw"` [#1](https://github.com/EPIVISION/vscode-file-header/issues/1)

# [1.0.7] 2020-04-13

- fixed some problems when `"powerHeader.update.enable": "save"`
Expand All @@ -20,4 +24,4 @@
- Initial release

[Unreleased]: https://github.com/EPIVISION/vscode-file-header/tree/master
[1.0.7]: https://github.com/EPIVISION/vscode-file-header/releases/tag/1.0.7
[1.0.8]: https://github.com/EPIVISION/vscode-file-header/releases/tag/1.0.8
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default async function insertHeader(e: vscode.TextDocument|vscode.TextDoc
break;

case PKG.commentModeRaw:
default: snippet = header;
default: snippet = header.replace(/\\n/g, '\n');
}

log.info('touching up snippet 😄');
Expand Down

0 comments on commit 7ea4d47

Please sign in to comment.