Merge pull request #87 from danielribeiro/master
Added clojure syntax color to Readme
This commit is contained in:
commit
821698651d
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -7,9 +7,11 @@
|
|||
patterns of code for which there might exist a more idiomatic function
|
||||
or macro. For example if kibit finds the code
|
||||
|
||||
(if (some test)
|
||||
(some action)
|
||||
nil)
|
||||
```clojure
|
||||
(if (some test)
|
||||
(some action)
|
||||
nil)
|
||||
```
|
||||
|
||||
it will make the suggestion to use the `when` macro instead of `if`.
|
||||
|
||||
|
@ -33,7 +35,7 @@ If you use Emacs for hacking Clojure, here's a way to use kibit from
|
|||
inside Emacs with all the fancyness you are used from `M-x compile`.
|
||||
Put the following into your `~/.emacs`:
|
||||
|
||||
```
|
||||
```clojure
|
||||
;; Teach compile the syntax of the kibit output
|
||||
(require 'compile)
|
||||
(add-to-list 'compilation-error-regexp-alist-alist
|
||||
|
|
Loading…
Reference in a new issue