Switch to flycheck for supported modes.

This commit is contained in:
syl20bnr 2013-04-13 23:34:45 -04:00
parent de6216cfb6
commit 1b0c90f24a
8 changed files with 15 additions and 11 deletions

3
.gitmodules vendored
View file

@ -31,3 +31,6 @@
[submodule "extensions/flymake"]
path = extensions/flymake
url = http://github.com/illusori/emacs-flymake
[submodule "extensions/flycheck"]
path = extensions/flycheck
url = http://github.com/syl20bnr/flycheck

1
extensions/flycheck Submodule

@ -0,0 +1 @@
Subproject commit 729b84bf5faaf47455b8dd2e57532531991c9b63

View file

@ -0,0 +1,8 @@
(require 'flycheck)
(dolist (mode '(elixir
json
python))
(add-hook (intern (concat (symbol-name mode) "-mode-hook"))
'flycheck-mode))

View file

@ -1,5 +0,0 @@
(require 'flymake-elixir)
(eval-after-load 'elixir-mode
(add-hook 'elixir-mode-hook 'flymake-elixir-load))

View file

@ -1,2 +0,0 @@
(require 'flymake-python-pyflakes)
(add-hook 'python-mode-hook 'flymake-python-pyflakes-load)

View file

@ -0,0 +1 @@
(require 'json-mode)

View file

@ -30,11 +30,7 @@
flymake
flymake-cursor
flymake-easy
flymake-elixir
flymake-haskell-multi
flymake-json
flymake-python-pyflakes
flymake-ruby
fold-this
fuzzy
ghc
@ -45,6 +41,7 @@
htmlize
;; ido-ubiquitous
jedi
json-mode
key-chord
less-css-mode
magit

View file

@ -9,6 +9,7 @@
elixir
;; emacs-eclim
evil-plugins
flycheck
mu4e
o-blog
pylookup