Introducing lein-spell, https://github.com/cldwalker/lein-spell - a library 
to quickly and easily spell check your clojure libraries.

Usage
---------
lein-spell prints misspelled words, one per line to STDOUT.
By default your library's docstrings and markdown/txt docs are searched:

$ lein-spell
associtaed
bugfix
communitcated
...

You can also check individual files:

$ lein-spell doc/my-tutorial.org

Until lein-spell's dictionary is good enough, there will be false 
positives. Add those to your local whitelist in .lein-spell. In the example 
above, bugfix would be a false positive.

Once you're ready to edit your typos, you can see their locations with:

$ lein spell -n
./README.md:25:associtaed
src/my/lib.clj:44:communitcated

This format is compatible with vim's grep so you can easily navigate your 
typos

$ vim -c 'set grepprg=lein\ spell\ -n' -c 'botright copen' -c 'silent! grep'


Install
---------
Install aspell:

# For mac osx
$ brew install aspell
# For ubuntu/debian
$ apt-get install aspell


Add to your project's :plugins key:

  [lein-spell "0.1.0"]

For more info, see the 
readme, https://github.com/cldwalker/lein-spell#readme

Feedback welcome,
Gabriel

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to