From ba61dfe8b88373c3822c819bbbe49bd300e57412 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 8 Jul 2016 10:45:00 +0200 Subject: emacs: some minor additions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 0b01f75..9d0c98e 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -155,8 +155,7 @@ ;; Custom functions -;; Allow users to fetch the latest Emacs' NEWS file. -(defun view-emacs-latest-news () +(defun mssola-view-emacs-latest-news () "Allow users to fetch the latest Emacs' NEWS file." (interactive) @@ -489,6 +488,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (add-hook 'go-mode-hook 'go-eldoc-setup) (add-hook 'go-mode-hook 'mssola-go-mode)) +;; Ruby mode +(add-hook 'ruby-mode-hook 'warnings-mode-hook) + ;; Smart tabs (use-package smart-tabs-mode :ensure t @@ -515,6 +517,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package markdown-preview-mode :ensure t))) +; Slim +(use-package slim-mode + :ensure t) + ; Apply purple function identifiers to all these languages. (dolist (lang-hook '(ruby-mode-hook php-mode-hook -- cgit v1.2.3