Add snippets

main
theodugautier 2025-07-16 19:51:27 +02:00
parent 40835b51be
commit 3396d20027
2 changed files with 19 additions and 19 deletions

View File

@ -1,16 +0,0 @@
{
"ruby_tag": {
"prefix": "%",
"body": [
"<% $1 %>"
],
"description": "ERB"
},
"ruby_tag_equal": {
"prefix": "=",
"body": [
"<%= $1 %>"
],
"description": "ERB"
}
}

View File

@ -6,9 +6,25 @@
"contributes": { "contributes": {
"snippets": [ "snippets": [
{ {
"language": "erb", "language": ["erb", "html"],
"path": "./erb.json" "path": "./html.json"
},
{
"language": "ruby",
"path": "./ruby.json"
},
{
"language": "javascript",
"path": "./javascript.json"
},
{
"language": "typescript",
"path": "./typescript.json"
},
{
"language": "rust",
"path": "./rust.json"
} }
] ]
} }
} }