Doom Emacs: Turn off single line comment autocompletion

74 Views Asked by At

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?

0

There are 0 best solutions below