documentation formatting: Sat Jul 27 13:24:53 UTC 2019
This commit is contained in:
parent
a7e39b910f
commit
93af3927ea
|
@ -208,9 +208,9 @@ side effects.
|
|||
|
||||
For instance to load my-mode:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(spacemacs/dump-modes '(my-mode))
|
||||
#+end_src
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(spacemacs/dump-modes '(my-mode))
|
||||
#+END_SRC
|
||||
|
||||
*Friendly suggestions:*
|
||||
- If you have a lot of personal configuration in =user-init= and =user-config=,
|
||||
|
@ -218,18 +218,17 @@ For instance to load my-mode:
|
|||
those customized configurations.
|
||||
|
||||
*** Add pre-dump function to layers
|
||||
|
||||
It is also possible to execute some lisp for each used layer by defining a
|
||||
function named =<layer>/pre-dump= in the =config.el= file of the layer.
|
||||
|
||||
Example for the org layer:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Dumper
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; Dumper
|
||||
|
||||
(defun org/pre-dump ()
|
||||
(spacemacs/dump-modes '(org-mode)))
|
||||
#+end_src
|
||||
(defun org/pre-dump ()
|
||||
(spacemacs/dump-modes '(org-mode)))
|
||||
#+END_SRC
|
||||
|
||||
*Note*: In order to not generate dump files that are too big we try to use this
|
||||
mechanism only when it makes a noticeable difference for all users.
|
||||
|
|
|
@ -110,10 +110,11 @@ When =lsp= is set as the backend, but you don't want to use lsp as the linter,
|
|||
set the variable =javascript-lsp-linter= to =nil=.
|
||||
|
||||
#+BEGIN_SRC elisp
|
||||
(javascript :variables
|
||||
javascript-backend 'lsp
|
||||
javascript-lsp-linter nil)
|
||||
(javascript :variables
|
||||
javascript-backend 'lsp
|
||||
javascript-lsp-linter nil)
|
||||
#+END_SRC
|
||||
|
||||
** Choosing a formatter
|
||||
To choose a formatter, set the layer variable =javascript-fmt-tool=:
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ This layer adds support for Emoji emoticons from [[https://www.webpagefx.com/too
|
|||
Features:
|
||||
- Browse Emoji in a dedicated buffer
|
||||
- Display Emoji images in buffer
|
||||
- Insert one or several Emoji with an helm front-end
|
||||
- Insert one or several Emoji with a helm front-end
|
||||
- Completion of Emojis using [[https://github.com/dunn/company-emoji][company-emoji]]
|
||||
|
||||
** Games
|
||||
|
|
Loading…
Reference in New Issue