I want the code like this.
for (;;) {
}
But YASnippet always output this.
for (;;) { }
Is there a way to change the C++ style?
This is my .emacs file.
(setq c-default-style "stroustrup")
(add-to-list 'load-path "~/emacs/yasnippet/") (require 'yasnippet) (yas-global-mode 1)