Skip to content

Commit 27cb613

Browse files
authored
fix import snippet
number is required to load choice menu correctly
1 parent 0b93b0b commit 27cb613

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yara/snippets/yara.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"Import": {
4343
"prefix": "import",
44-
"body": "import \"${|pe,elf,cuckoo,magic,hash,math,dotnet,time|}\"",
44+
"body": "import \"${1|pe,elf,cuckoo,magic,hash,math,dotnet,time|}\"",
4545
"description": "Import a YARA module"
4646
},
4747
"for": {
@@ -59,4 +59,4 @@
5959
"body": "all of ${them}",
6060
"description": "String set keyword: all"
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)