diff --git a/snippets/vyper.json b/snippets/vyper.json index 57f92b3..70d9c2d 100644 --- a/snippets/vyper.json +++ b/snippets/vyper.json @@ -198,7 +198,7 @@ }, "function nonreentrant declaration": { "prefix": "funcnonreentrant", - "body": "@(nonreentrant\"${1:lock}\")\n@external\ndef ${2:name}(${3:_name}: ${4:type}):\n\t$0\n" + "body": "@nonreentrant(\"${1:lock}\")\n@external\ndef ${2:name}(${3:_name}: ${4:type}):\n\t$0\n" }, "function external viewonly declaration": { "prefix": "funcview",