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.
- 0 Posts
- 6 Comments
Joined 3 years ago
Cake day: October 18th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
404cn@alien.topBto
Emacs•Does anyone else feel like use-package might be the wrong abstraction, or do I just not get it?English
1·2 years agoYou are right, and I never use use-package
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?
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)))
```
Sorry, but after type ( it still indent current line to 8 space(not RET), I’m going to report a bug to emacs devel.