Skip to content

Commit 3bd0110

Browse files
author
Andrew Ferrier
committed
feat: Add support for golang
1 parent f8ebf7c commit 3bd0110

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ local js = {
1414

1515
return {
1616
["bash"] = shell,
17+
["go"] = {
18+
left = 'fmt.Printf("',
19+
right = '")',
20+
mid_var = '%+v\\n", ',
21+
right_var = ")",
22+
},
1723
["javascript"] = js,
1824
["lua"] = {
1925
left = "print('",

0 commit comments

Comments
 (0)