Skip to content

Commit 1683331

Browse files
authored
fix haskell's lambda snippet (#554)
Properly escape the first argument by adding additional `\\` to the snippet body definition.
1 parent 535ee51 commit 1683331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/haskell.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
},
107107
"lambda": {
108108
"prefix": ["\\", "lambda"],
109-
"body": ["\\${1:x} -> ${2:undefined}$0"],
109+
"body": ["\\\\${1:x} -> ${2:undefined}$0"],
110110
"description": "lambda function"
111111
},
112112
"pragma": {

0 commit comments

Comments
 (0)