From 55e481e6985d0bd47160be97a798275888329fdd Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Mon, 26 Aug 2019 16:41:32 +0200 Subject: [PATCH] Add VueJS mode --- .gitmodules | 21 +++++++++++++++++++++ configs/modes.el | 5 +++++ init.el | 1 + stuff/edit-indirect | 1 + stuff/mmm-mode | 1 + stuff/ssass-mode | 1 + stuff/vue-html-mode | 1 + stuff/vue-mode | 1 + 8 files changed, 32 insertions(+) create mode 160000 stuff/edit-indirect create mode 160000 stuff/mmm-mode create mode 160000 stuff/ssass-mode create mode 160000 stuff/vue-html-mode create mode 160000 stuff/vue-mode diff --git a/.gitmodules b/.gitmodules index 71004b4..c704140 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,24 @@ [submodule "stuff/go-mode.el"] path = stuff/go.el url = https://github.com/dominikh/go-mode.el.git +[submodule "stuff/dockerfile-mode"] + path = stuff/dockerfile-mode + url = https://github.com/spotify/dockerfile-mode +[submodule "stuff/vue-mode"] + path = stuff/vue-mode + url = https://github.com/AdamNiederer/vue-mode.git +[submodule "stuff/mmm-mode"] + path = stuff/mmm-mode + url = https://github.com/purcell/mmm-mode.git +[submodule "stuff/vue-html-mode"] + path = stuff/vue-html-mode + url = https://github.com/AdamNiederer/vue-html-mode.git +[submodule "stuff/sass-mode"] + path = stuff/sass-mode + url = https://github.com/nex3/sass-mode +[submodule "stuff/ssass-mode"] + path = stuff/ssass-mode + url = https://github.com/AdamNiederer/ssass-mode.git +[submodule "stuff/edit-indirect"] + path = stuff/edit-indirect + url = https://github.com/Fanael/edit-indirect.git diff --git a/configs/modes.el b/configs/modes.el index 8685b10..c092bc6 100644 --- a/configs/modes.el +++ b/configs/modes.el @@ -57,3 +57,8 @@ ; (add-to-list 'flymake-allowed-file-name-masks ; '("\\.py\\'" flymake-pyflakes-init))) ;(add-hook 'find-file-hook 'flymake-find-file-hook) + +;; mmm-mode +(add-hook 'mmm-mode-hook + (lambda () + (set-face-background 'mmm-default-submode-face nil))) diff --git a/init.el b/init.el index 199360e..40ba2b3 100644 --- a/init.el +++ b/init.el @@ -42,6 +42,7 @@ (require 'my-layout) (require 'my-lisp-mode) (require 'my-python-mode) +(require 'vue-mode) ;; load my configuration files (toc:load-config-file '("key-binding" diff --git a/stuff/edit-indirect b/stuff/edit-indirect new file mode 160000 index 0000000..de645d8 --- /dev/null +++ b/stuff/edit-indirect @@ -0,0 +1 @@ +Subproject commit de645d8144e8a08f039a9c88185121ec81d957ef diff --git a/stuff/mmm-mode b/stuff/mmm-mode new file mode 160000 index 0000000..ff0b214 --- /dev/null +++ b/stuff/mmm-mode @@ -0,0 +1 @@ +Subproject commit ff0b214f27d5dddeb856acb4216e77a864dcc0b2 diff --git a/stuff/ssass-mode b/stuff/ssass-mode new file mode 160000 index 0000000..c2c610a --- /dev/null +++ b/stuff/ssass-mode @@ -0,0 +1 @@ +Subproject commit c2c610abd85fecd171466bf5a9a4943bd62ffda5 diff --git a/stuff/vue-html-mode b/stuff/vue-html-mode new file mode 160000 index 0000000..1514939 --- /dev/null +++ b/stuff/vue-html-mode @@ -0,0 +1 @@ +Subproject commit 1514939804bad558584feeb6298b38d22eadf64e diff --git a/stuff/vue-mode b/stuff/vue-mode new file mode 160000 index 0000000..031edd1 --- /dev/null +++ b/stuff/vue-mode @@ -0,0 +1 @@ +Subproject commit 031edd1f97db6e7d8d6c295c0e6d58dd128b9e71