Skip to content

natsumi/vue-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://github.com/syl20bnr/spacemacs

vue-mode

Emacs major mode for vue.js based on mmm-mode.

Preview

2016-04-10 10 44 46

Install

Spacemacs

Add

(vue-mode :location (recipe
                     :fetcher github
                     :repo "codefalling/vue-mode"))

to your packages.and

(defun your-layer-name/init-vue-mode ()
  (use-package vue-mode))

to your package.el.

And you could custom the region background color if you need (default is highlight):

(defun your-layer-name/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)))

Q&A

Why js-mode instead of js2-mode?

js2-mode does not yet work with "multi-mode" modes such as mmm-mode. See mooz/js2-mode#124.

Mode didn't get updated when lang changed

M-x vue-mode-reparse

About

Emacs major mode for vue.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%