Skip to content

Instantly share code, notes, and snippets.

View vibrog's full-sized avatar

Vidar Bronken Gundersen vibrog

View GitHub Profile
@vibrog
vibrog / hunspell.rb
Created December 28, 2010 10:28
Patch to Homebrew formula: Hunspell
require 'formula'
class Hunspell <Formula
url 'http://downloads.sourceforge.net/hunspell/hunspell-1.2.12.tar.gz'
homepage 'http://hunspell.sourceforge.net/'
md5 '5ef2dc1026660d0ffb7eae7b511aee23'
depends_on 'readline'
#depends_on 'ncursesw'
@vibrog
vibrog / emacs-ispell-dictionary-alist
Created December 22, 2010 22:26
Setting ispell-dictionary-alist in .emacs
;;; Spell checking using hunspell
(setq ispell-dictionary-alist
'((nil "[A-Za-z]" "[^A-Za-z]" "[']" t
("-d" "en_US" "-i" "utf-8") nil utf-8)
("american"
"[A-Za-z]" "[^A-Za-z]" "[']" nil
("-d" "en_US") nil utf-8)
("english"
"[A-Za-z]" "[^A-Za-z]" "[']" nil
("-d" "en_GB") nil utf-8)