aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--custom.el2
-rw-r--r--init.el1
-rw-r--r--modules/init-vue.el18
3 files changed, 20 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index bb434d1..d885118 100644
--- a/custom.el
+++ b/custom.el
@@ -11,7 +11,7 @@
'(ecb-options-version "2.50")
'(package-selected-packages
(quote
- (git-gutter-fringe yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode ivy-rich highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck emmet-mode elpy ecb dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons))))
+ (git-gutter-fringe yaml-mode whitespace-cleanup-mode web-mode vue-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode ivy-rich highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck emmet-mode elpy ecb dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
diff --git a/init.el b/init.el
index 144a9ac..306f1c9 100644
--- a/init.el
+++ b/init.el
@@ -107,6 +107,7 @@
(require 'init-smartparens)
(require 'init-sass)
(require 'init-scss)
+ (require 'init-vue)
(require 'init-yaml)
;; Plus
(require 'init-rainbow)
diff --git a/modules/init-vue.el b/modules/init-vue.el
new file mode 100644
index 0000000..a69c671
--- /dev/null
+++ b/modules/init-vue.el
@@ -0,0 +1,18 @@
+;;; init-vue.el --- .Emacs Configuration -*- lexical-binding: t -*-
+;;; Commentary:
+;;
+
+;;; Code:
+;; vue-mode
+(use-package vue-mode
+ :pin "MELPA"
+ :mode ("\\.vue\\'" . vue-mode)
+ :config
+ (setq vue-mode-packages '(vue-mode))
+ (setq vue-mode-excluded-packages '())
+ ;; 0, 1, or 2, representing (respectively) none, low, and high coloring
+ (setq mmm-submode-decoration-level 0)
+ )
+
+(provide 'init-vue)
+;;; init-vue.el ends here