CFiggers / vscode-janet-plus-plus

Janet language support for Visual Studio Code
Other
10 stars 2 forks source link

Fix autoformatting of splice (`;`) shorthand #8

Closed CFiggers closed 10 months ago

CFiggers commented 10 months ago

Currently, having ; anywhere in a form causes the autoformatter to choke.

Looks like ; is not handled in parser/core.cljs—look at https://github.com/CFiggers/vscode-janet-plus-plus/blob/eeecbb0cc50d6df6e9dca58464919c9557195f36/src/cljs-lib/src/pez_rewrite_clj/parser/core.cljs#L166

Will probably need a new node type added as well (Clojure doesn't have an equivalent to splice)

CFiggers commented 10 months ago

Delivered with #11