From: Maximilian Friedersdorff Date: Fri, 4 Nov 2016 09:20:42 +0000 (+0000) Subject: Merge branch 'master' of git.friedersdorff.com:max/dotfiles X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=0e7ea48dce808af8002b8b994afe0214930d5a53;p=max%2Fdotfiles.git Merge branch 'master' of git.friedersdorff.com:max/dotfiles --- 0e7ea48dce808af8002b8b994afe0214930d5a53 diff --cc emacs/.emacs index e6bc5f6,96b09e3..7fd25c7 --- a/emacs/.emacs +++ b/emacs/.emacs @@@ -22,7 -22,7 +22,7 @@@ ("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3"))) '(package-selected-packages (quote - (yaml-mode minimap js2-mode editorconfig evil-magit evil-leader evil-org molokai-theme org-evil flycheck-mypy jinja2 jinja2-mode highlight-indent-guides projectile helm-projectile zenburn-theme helm helm-config use-package flycheck company-jedi company org evil))) - (wanderlust evil-magit evil-leader evil-org molokai-theme org-evil flycheck-mypy jinja2 jinja2-mode highlight-indent-guides projectile helm-projectile zenburn-theme helm helm-config use-package flycheck company-jedi company org evil))) ++ (yaml-mode minimap js2-mode editorconfig wanderlust evil-magit evil-leader evil-org molokai-theme org-evil flycheck-mypy jinja2 jinja2-mode highlight-indent-guides projectile helm-projectile zenburn-theme helm helm-config use-package flycheck company-jedi company org evil))) '(pdf-view-midnight-colors (quote ("#DCDCCC" . "#383838"))) '(vc-annotate-background "#2B2B2B") '(vc-annotate-color-map @@@ -114,23 -114,13 +114,28 @@@ (use-package evil-magit :ensure t) +(use-package editorconfig + :ensure t + :init + (add-hook 'prog-mode-hook (editorconfig-mode 1)) + (add-hook 'text-mode-hook (editorconfig-mode 1))) + +(use-package js2-mode + :ensure t + :config + (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) + (setq js2-strict-missing-semi-warning nil)) + +(use-package yaml-mode + :ensure t) + (add-hook 'after-init-hook 'global-company-mode) + (use-package wanderlust + :ensure t) + + + (add-hook 'prog-mode-hook 'electric-pair-mode)