vue-mode
vue-mode copied to clipboard
Installation instructions for stock Emacs
The README.md file has instructions only for Spacemacs. It would be helpful to include instructions for setting up the .emacs file for standard Emacs.
I wanted to configure the highlight colour of the regions, so I took the provided insrtructions:
(defun vue-mode/init-vue-mode ()
(use-package vue-mode
:config
;; 0, 1, or 2, representing (respectively) none, low, and high coloring
(setq mmm-submode-decoration-level 0)))
and changed them to:
(use-package vue-mode
:config
;; 0, 1, or 2, representing (respectively) none, low, and high coloring
(setq mmm-submode-decoration-level 0))
I don't know what layers are and no idea what is supposed to call the defined function in the first snippet, but I do know how use-package works, so the change worked for me.