1

I currently have this Doom Emacs functionality:

/* * * <- automatically inserted after pressing ENTER [good] */ // // <- automatically inserted after pressing ENTER [bad] 

What could elisp code could I place in my config file such that it DOESNT place a newline after a singleline comment // but DOES add a newline after a multiline /* */ comment?

1
  • Please don't post the same question on emacs.SE and StackOverflow. Choose one to keep and delete the other now. Thx. Commented Oct 29, 2023 at 22:29

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.