Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
feat: custom error syntac highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shintaro0221 committed Aug 22, 2022
1 parent 7cd1a20 commit ae62e24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"body": ["#define function ${1:name}(${2:args}) ${3:extensions} ${4:returns} (${5:returnType})"],
"description": "Define a new interface function"
},
"error": {
"prefix": ["error"],
"body": ["#define error ${1:ErrorName}(${2:args})"],
"description": "Define a new error"
},
"stop": {
"prefix": "stop",
"body": "stop"
Expand Down

0 comments on commit ae62e24

Please sign in to comment.