Remove stale "Add case" snippet
The reflection-driven implementation of Add no longer contains a huge boilerplate `switch` statement so we no longer need a snippet for the boilerplate.
This commit is contained in:
parent
2d16f97314
commit
68cab7d2be
9
.vscode/koboldsimsnippets.code-snippets
vendored
9
.vscode/koboldsimsnippets.code-snippets
vendored
@ -15,13 +15,4 @@
|
|||||||
// ],
|
// ],
|
||||||
// "description": "Log output to console"
|
// "description": "Log output to console"
|
||||||
// }
|
// }
|
||||||
"KoboldMine Add case": {
|
|
||||||
"scope": "go",
|
|
||||||
"prefix": "case",
|
|
||||||
"body": [
|
|
||||||
"case ${1:field}:",
|
|
||||||
"\tk.${1:field} += amount",
|
|
||||||
"\treturn nil",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user