✨ Changed formatting of for, func, def, and fn
This commit is contained in:
parent
fbd65d3d72
commit
90568ff545
1 changed files with 4 additions and 4 deletions
|
|
@ -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()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue