You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the late response. Well, TBH the janet support was not part of the original implementation, it was added as a contribution here: 9f5ba8a
I myself do not know anything about the janet language. I looked it up here: https://janet-lang.org/docs/syntax.html and it seems that its syntax differs from the general lisp syntax in many places. One of them is the commenting. In lisp the comment is ; which seems to be used for a shorthand of (splice ) in janet, and the comment is # in janet. This is causing the first issue, because paredit does not recognize that we are inside a comment block.
The other issues are caused by the backquote that again means something different in janet.
I noticed some strange behavior in Janet files.
Example 1:
When I select the comment lines (linewise visual mode) and delete them with
d
, I end up with this:These two opening parentheses are unexpected.
Example 2a:
When I put the cursor in line 4 of this snippet and delete/cut the line with
dd
, I end up with:The
("
is not expected.Example 2b:
When I put the cursor again in line 4 in example 2a and try to copy the line with
yyp
(instead of deleting it), I end up with:The opening parenthesis in the new line 5 is missing.
The text was updated successfully, but these errors were encountered: