404cn

joined 11 months ago
[–] 404cn@alien.top 1 points 10 months ago (1 children)

Sorry, but after type ( it still indent current line to 8 space(not RET), I'm going to report a bug to emacs devel.

[–] 404cn@alien.top 1 points 10 months ago (2 children)

It's wired after I config go-ts-indent-offset to 4, the indent after } and ) still indent 8 spaces(I think it's from electric-indent-mode), and content after treesit-check-indent also use 8 spaces, but bind RET to newline-and-indent is a workaround for me now, thanks.

[–] 404cn@alien.top 1 points 10 months ago

You are right, and I never use use-package

[–] 404cn@alien.top 1 points 10 months ago

Buy a good cpu

[–] 404cn@alien.top 1 points 11 months ago (1 children)

But plantuml-mode seems not update, I also tried mermaid but m2 seems the best choice(with m2-mode and ob, written in go, just install a binary), any thoughts?

[–] 404cn@alien.top 1 points 11 months ago

Install package fullframe then (fullframe magit-status magit-mode-quit-window)

Others: bind q to this function

```elisp

(defun eat/quit ()

"Delete current window switch to prevous buffer."

(interactive)

(if (> (seq-length (window-list (selected-frame))) 1)

(delete-window)

(previous-buffer)))

```