Fix code blocks
This commit is contained in:
parent
bf2bf86269
commit
2eca814a5b
|
@ -128,28 +128,28 @@ would look is that in your list of =dostpacemacs-configuration-layers= you have
|
||||||
an entry like
|
an entry like
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(c-c++ :variables
|
(c-c++ :variables
|
||||||
c-c++-enable-google-style t)
|
c-c++-enable-google-style t)
|
||||||
#+END_SRC emacs-lisp
|
#+END_SRC
|
||||||
|
|
||||||
Additionally, if you have =c-c++-enable-google-newline= variable set then
|
Additionally, if you have =c-c++-enable-google-newline= variable set then
|
||||||
=`google-make-newline-indent= will be set as a =c-mode-common-hook=. You would
|
=`google-make-newline-indent= will be set as a =c-mode-common-hook=. You would
|
||||||
set that up like this:
|
set that up like this:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(c-c++ :variables
|
(c-c++ :variables
|
||||||
c-c++-enable-google-style t
|
c-c++-enable-google-style t
|
||||||
c-c++-enable-google-newline t)
|
c-c++-enable-google-newline t)
|
||||||
#+END_SRC emacs-lisp
|
#+END_SRC
|
||||||
|
|
||||||
** Newlines
|
** Newlines
|
||||||
You can enable the =Auto-newline= minor mode that automatically adds newlines
|
You can enable the =Auto-newline= minor mode that automatically adds newlines
|
||||||
after certain characters by setting the =c-c++-enable-auto-newline= variable.
|
after certain characters by setting the =c-c++-enable-auto-newline= variable.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(c-c++ :variables
|
(c-c++ :variables
|
||||||
c-c++-enable-auto-newline t)
|
c-c++-enable-auto-newline t)
|
||||||
#+END_SRC emacs-lisp
|
#+END_SRC
|
||||||
|
|
||||||
* Key Bindings
|
* Key Bindings
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue