From 07be5c9ab3a6005a24aa196cffd0955696610f9c Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 27 Apr 2018 09:06:59 +0300 Subject: [PATCH] Add vue mode --- config/behaviour.el | 5 ++++- config/emacs | 2 +- config/packages.el | 7 +++++++ config/themes.el | 5 +++-- config/windows.el | 2 ++ 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/config/behaviour.el b/config/behaviour.el index 7acb38a..ee86535 100644 --- a/config/behaviour.el +++ b/config/behaviour.el @@ -3,7 +3,7 @@ ;;; Code: ;;;;;;;;;;;;;;;;;;;;;;;; Overall behaviour ;;;;;;;;;;;;;;;;;;;;;;;;;;; -(setq debug-on-error t) +;; (setq debug-on-error t) ;;; remove menu bar and icons (menu-bar-mode -1) @@ -26,6 +26,9 @@ (global-linum-mode t) (column-number-mode 1) +;; Enable TODO highlights +(hl-todo-mode 1) + ;; Turn off sounds (setq ring-bell-function 'ignore) diff --git a/config/emacs b/config/emacs index 9ee4cc0..6240726 100644 --- a/config/emacs +++ b/config/emacs @@ -17,7 +17,7 @@ '(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b"))) '(package-selected-packages (quote - (minitest apache-mode flymake-go go-flymake flycheck-go company-go go-mode expand-region sql-indent json-mode terraform-mode flycheck-rust company-ghc company-ghci scion hlinum etags-select nvm tide yaml-mode window-purpose web-mode ujelly-theme toml-mode smart-mode-line scala-mode rvm ruby-end rspec-mode robe rainbow-mode rainbow-delimiters racer pyenv-mode noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flymake-ruby flymake-cursor flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl dash-at-point company-tern company-racer company-jedi column-enforce-mode color-theme-approximate base16-theme atom-one-dark-theme alchemist aggressive-indent ag))) + (vue-mode flymake-go go-flymake flycheck-go company-go go-mode expand-region sql-indent json-mode terraform-mode flycheck-rust company-ghc company-ghci scion hlinum etags-select nvm tide yaml-mode window-purpose web-mode ujelly-theme toml-mode smart-mode-line scala-mode rvm ruby-end rspec-mode robe rainbow-mode rainbow-delimiters racer pyenv-mode noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flymake-ruby flymake-cursor flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl dash-at-point company-tern company-racer company-jedi column-enforce-mode color-theme-approximate base16-theme atom-one-dark-theme alchemist aggressive-indent ag))) '(safe-local-variable-values (quote ((encoding . utf-8)))) '(sml/active-background-color "#34495e") '(sml/active-foreground-color "#ecf0f1") diff --git a/config/packages.el b/config/packages.el index ec42d50..4e9be8e 100644 --- a/config/packages.el +++ b/config/packages.el @@ -93,6 +93,9 @@ (unless (package-installed-p 'flycheck) (package-install 'flycheck)) +(unless (package-installed-p 'hl-todo) + (package-install 'hl-todo)) + (unless (package-installed-p 'flymake) (package-install 'flymake)) @@ -259,4 +262,8 @@ (unless (package-installed-p 'nvm) (package-install 'nvm)) + +(unless (package-installed-p 'vue-mode) + (package-install 'vue-mode)) + ;;; packages.el ends here diff --git a/config/themes.el b/config/themes.el index 3954165..c36c094 100644 --- a/config/themes.el +++ b/config/themes.el @@ -21,6 +21,7 @@ (load-theme 'base16-summerfruit-light t t) (load-theme 'base16-material-darker t t) (load-theme 'atom-one-dark t t) +(load-theme 'base16-atelier-forest-light t t) (defun base16-harmonic-custom () "Additional configuration for Base 16 theme." @@ -49,8 +50,8 @@ (require 'helm-themes) (if (display-graphic-p) (progn - (enable-theme 'base16-material-darker) - (base16-material-darker-custom)) + (enable-theme 'base16-atelier-forest-light) + (base16-summerfruit-light-custom)) (progn (color-theme-approximate-on) (enable-theme 'flatui))) diff --git a/config/windows.el b/config/windows.el index 37beb86..d7baade 100644 --- a/config/windows.el +++ b/config/windows.el @@ -11,6 +11,8 @@ ;; Test (add-to-list 'purpose-user-regexp-purposes '("_spec\\.rb\\(<.*>\\)?$" . test)) ;; Rspec +(add-to-list 'purpose-user-regexp-purposes + '("_test\\.rb\\(<.*>\\)?$" . test)) ;; Minitest (add-to-list 'purpose-user-regexp-purposes '("_test\\.exs\\(<.*>\\)?$" . test)) ;; ExUnit (add-to-list 'purpose-user-regexp-purposes