Changed formatting of for, func, def, and fn

This commit is contained in:
z3rOR0ne 2022-08-29 22:41:19 -07:00
parent fbd65d3d72
commit 90568ff545

View file

@ -69,7 +69,7 @@ matches:
cmd: "uname -r"
- trigger: ":for"
replace: "for (;;) {}"
replace: "for(;;) {}"
- trigger: ":while"
replace: "while () {}"
@ -87,7 +87,7 @@ matches:
replace: "do {} while ()"
- trigger: ":func"
replace: "function () {}"
replace: "function() {}"
- trigger: ":=>"
replace: "() => {}"
@ -96,10 +96,10 @@ matches:
replace: "try {} catch(error) {}"
- trigger: ":def"
replace: "def ():"
replace: "def():"
- trigger: ":fn"
replace: "pub fn () {}"
replace: "pub fn() {}"
- trigger: ":cll"
replace: "console.log()"