From 9bd3e1eeab2b0942746b56e810764c0821666579 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Fri, 28 Aug 2015 08:56:09 -0700 Subject: [PATCH] tips-n-tricks: add homebrew-mode to editor plugins --- share/doc/homebrew/Tips-N'-Tricks.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/share/doc/homebrew/Tips-N'-Tricks.md b/share/doc/homebrew/Tips-N'-Tricks.md index 70f2a46c0d..472fd25cdc 100644 --- a/share/doc/homebrew/Tips-N'-Tricks.md +++ b/share/doc/homebrew/Tips-N'-Tricks.md @@ -120,10 +120,21 @@ export HOMEBREW_NO_EMOJI=1 This sets the HOMEBREW_NO_EMOJI environment variable, causing homebrew to hide all emoji. -## Sublime text: Syntax for formulae including the diff +## Editor plugins -In Sublime Text 2/3, you can use Package Control to install [Homebrew-formula-syntax](https://github.com/samueljohn/Homebrew-formula-syntax). +### Sublime Text -## Vim Syntax for formulae including the diff +In Sublime Text 2/3, you can use Package Control to install +[Homebrew-formula-syntax](https://github.com/samueljohn/Homebrew-formula-syntax), +which adds highlighting for inline patches. -If you are vim user, you can install [brew.vim](https://github.com/xu-cheng/brew.vim) plugin. +### Vim + +[brew.vim](https://github.com/xu-cheng/brew.vim) adds highlighting to +inline patches in Vim. + +### Emacs + +[homebrew-mode](https://github.com/dunn/homebrew-mode) provides syntax +highlighting for inline patches as well as a number of helper functions +for editing formula files.