From 0d5ef3f43eecf1cd2f2e87ebe0b3c2b998f0efbd Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 25 May 2016 16:42:42 +0200 Subject: CONTRIBUTING.md: Describe emacs fish-mode setup --- CONTRIBUTING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b8aabe28..9c93c723 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -94,7 +94,12 @@ If you use Emacs: TBD If you use ViM: TBD -If you use Emacs: TBD +If you use Emacs: Install [fish-mode](https://github.com/wwwjfy/emacs-fish) (also available in melpa and melpa-stable) and `(setq-default indent-tabs-mode nil)` for it (via a hook or in `use-package`s ":init" block). It can also be made to run fish_indent via e.g. + +```elisp +(add-hook 'fish-mode-hook (lambda () + (add-hook 'before-save-hook 'fish_indent-before-save))) +``` ### Suppressing Reformatting of C++ Code -- cgit v1.2.3