📝 Added trycatch espanso expansion
This commit is contained in:
parent
7a3dde69d5
commit
a47ec841a4
2 changed files with 15 additions and 1 deletions
|
|
@ -108,7 +108,12 @@ matches:
|
|||
replace: "() => {}"
|
||||
|
||||
- trigger: ";try"
|
||||
replace: "try {} catch(error) {}"
|
||||
replace: "{{output}}"
|
||||
vars:
|
||||
- name: output
|
||||
type: shell
|
||||
params:
|
||||
cmd: "~/scripts/trycatch ; echo ''"
|
||||
|
||||
- trigger: ";def"
|
||||
replace: "def():"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue