Skip to content

Commit 807793c

Browse files
author
Andrew Ferrier
committed
fix: Add missing newlines - closes #50
1 parent 221616a commit 807793c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/debugprint/filetypes.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ return {
2222
["bash"] = shell,
2323
["c"] = {
2424
left = 'fprintf(stderr, "',
25-
right = '");',
26-
mid_var = '%d", ',
25+
right = '\\n");',
26+
mid_var = '%d\\n", ',
2727
right_var = ");",
2828
},
2929
["cpp"] = {
@@ -47,7 +47,7 @@ return {
4747
["dockerfile"] = docker,
4848
["go"] = {
4949
left = 'fmt.Fprintf(os.Stderr, "',
50-
right = '")',
50+
right = '\\n")',
5151
mid_var = '%+v\\n", ',
5252
right_var = ")",
5353
},

0 commit comments

Comments
 (0)