From: Maximilian Friedersdorff Date: Mon, 24 Oct 2016 16:21:11 +0000 (+0100) Subject: More emacs mod X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=4669b53a0897b6229cde9fec9474871fe14b8f79;p=max%2Fdotfiles.git More emacs mod --- diff --git a/emacs/.emacs b/emacs/.emacs index 1bf96c9..1caf61e 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -16,7 +16,7 @@ ("4e753673a37c71b07e3026be75dc6af3efbac5ce335f3707b7d6a110ecb636a3" "b571f92c9bfaf4a28cb64ae4b4cdbda95241cd62cf07d942be44dc8f46c491f4" default))) '(package-selected-packages (quote - (projectile helm-projectile zenburn-theme helm helm-config use-package flycheck company-jedi company org evil)))) + (jinja2 jinja2-mode highlight-indent-guides projectile helm-projectile zenburn-theme helm helm-config use-package flycheck company-jedi company org evil)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -51,7 +51,22 @@ (setq projectile-completion-system 'helm) (helm-projectile-on)) +(use-package highlight-indent-guides + :ensure t + :config + (add-hook 'prog-mode-hook 'highlight-indent-guides-mode) + (setq highlight-indent-guides-method 'character) + (setq highlight-indend-guides-character ?\|) + (set-face-foreground 'highlight-indent-guides-character-face "darkgray")) + +(use-package jinja2-mode + :ensure t) + + + (add-hook 'after-init-hook 'global-company-mode) +(add-hook 'prog-mode-hook 'electric-pair-mode) + (eval-after-load 'company '(add-to-list 'company-backends 'company-jedi))