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
I'm using parinfer-rust for common lisp with sly.
I define function
(defun calculate-brick (size color steps)
(let* ((png (make-instance 'zpng:png
:color-type :truecolor-alpha
:width size
:height size))
(image (zpng:data-array png)))
(dotimes (y size (zpng:write-png png "example.png"))
(dotimes (x size)
(dotimes (i 3)
(setf (aref image y x i) (elt (gethash color *color-table*) i)))
(setf (aref image y x 3) 255)))))
When I turn on sly only, if i insert new line before second to last setf (cursor is right before (setf), it indents setf correctly --- with same amount of spaces
so it goes from this
(dotimes (i 3)
(setf (aref image y x i) (elt (gethash color *color-table*) i)))
(setf (aref image y x 3) 255)))))
to this
(dotimes (i 3)
(setf (aref image y x i) (elt (gethash color *color-table*) i)))
(setf (aref image y x 3) 255)))))
However. when i turn on parinfer-rust-mode and do same (cursor on ( before first setf, press RET), it indents new line very poorly
(dotimes (i 3))))
(setf (aref image y x i) (elt (gethash color *color-table*) i)
(setf (aref image y x 3) 255))))
and thus change sexp structure.
I have some other packages installed, but i can reproduce this after removing my .emacs file and .emacs.d directory and installing only parinfer-rust and sly.
The text was updated successfully, but these errors were encountered:
I'm using parinfer-rust for common lisp with sly.
I define function
When I turn on sly only, if i insert new line before second to last setf (cursor is right before
(setf
), it indents setf correctly --- with same amount of spacesso it goes from this
to this
However. when i turn on parinfer-rust-mode and do same (cursor on
(
before firstsetf
, press RET), it indents new line very poorlyand thus change sexp structure.
I have some other packages installed, but i can reproduce this after removing my .emacs file and .emacs.d directory and installing only parinfer-rust and sly.
The text was updated successfully, but these errors were encountered: