Skip to content

Commit

Permalink
Improve snippets and language def
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Nov 2, 2020
1 parent a04eb87 commit bb02a9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions languages/pyflies.language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{ "open": "(", "close": ")" },
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "\"", "close": "\"", "notIn": ["string"] },
{ "open": "\"\"\"", "close": "\"\"\"", "notIn": ["string", "comment"]},
{ "open": "`", "close": "`", "notIn": ["string", "comment"] },
{ "open": "/*", "close": " */", "notIn": ["string"] }
],
Expand Down
4 changes: 2 additions & 2 deletions snippets/pyflies-snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"test": {
"scope": "pyflies",
"prefix": "test",
"body": "test ${1:name} {\n\n${0} | | |\n | --- | --- |\n | | |\n\n fix -> cross()\n exec-> circle(radius 20)\n}"
"body": "test ${1:name} {\n\n | ${0} | |\n | --- | --- |\n | | |\n\n fix -> cross()\n exec-> circle(radius 20)\n}"
},

"repeat_with": {
"scope": "pyflies",
"prefix": "repeatwith",
"body": "repeat {\n ${1}\n}with\n${0}| | |\n| --- | --- |\n| | |\n"
"body": "repeat {\n ${1}\n}with\n| ${0} | |\n| --- | --- |\n| | |\n"
}
}

0 comments on commit bb02a9b

Please sign in to comment.