diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-08 10:45:00 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2016-07-08 10:45:00 +0200 |
| commit | ba61dfe8b88373c3822c819bbbe49bd300e57412 (patch) | |
| tree | eadbc4d97e0347922ce9d0bf8dabd3fcba6ac796 /emacs | |
| parent | 7c34b25254d99d89ad9769f078f107538f79fba9 (diff) | |
| download | dotfiles-ba61dfe8b88373c3822c819bbbe49bd300e57412.tar.gz dotfiles-ba61dfe8b88373c3822c819bbbe49bd300e57412.zip | |
emacs: some minor additions
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 10 |
1 files 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 |
