Emacs: How to Stop Yasnippet auto-indent
one thing that's been annoying me for years. Yasnippet indent your lines when you don't want to. Especially when you specifically didn't include any indentation hint in the template. Have been trying to find a special syntax in template to stop the auto-indent behavior, never found it or didn't spend enough time.
(setq yas/indent-line nil)
Other tips that was on this page before:
If you have a question, put $5 at patreon and message me.