Skip to content

Commit

Permalink
Add new forms to indent specials.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Jul 12, 2020
1 parent 261a716 commit c07fc6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spork/fmt.janet
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
"varfn" "defmacro" "defmacro-" "defer" "edefer" "loop" "seq" "generate" "coro"
"for" "each" "eachp" "eachk" "case" "cond" "do" "defglobal" "varglobal"
"if" "when" "when-let" "when-with" "while" "with-syms" "with-vars"
"if-let" "if-not" "if-with" "let" "short-fn" "try" "unless" "default"]))
"if-let" "if-not" "if-with" "let" "short-fn" "try" "unless" "default" "forever"
"repeat" "eachy" "forv"]))

(def- indent-2-peg
"Peg to use to fuzzy match certain forms."
Expand Down

0 comments on commit c07fc6b

Please sign in to comment.