Skip to content

Commit

Permalink
Switches flymake to flycheck
Browse files Browse the repository at this point in the history
  • Loading branch information
akappen committed Dec 17, 2016
1 parent dc4d294 commit 979b5d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ buffer in current window."
(add-hook 'after-init-hook 'global-company-mode)
(setq company-minimum-prefix-length 4)

;; flycheck mode
(add-hook 'after-init-hook #'global-flycheck-mode)

;; js-mode
(setq js-indent-level 2)

Expand All @@ -193,10 +196,6 @@ buffer in current window."
;; ruby-tools
(require 'ruby-tools) ; needed to hook ruby-mode

;; flymake-ruby
(require 'flymake-ruby)
(add-hook 'ruby-mode-hook 'flymake-ruby-load)

;; rinari
(require 'rinari)
(global-rinari-mode)
Expand Down
2 changes: 1 addition & 1 deletion install-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'flx-ido
'ido-vertical-mode
'switch-window
'flycheck
'magit
'web-mode
'scss-mode
Expand All @@ -30,7 +31,6 @@
;; ruby
'rspec-mode
'ruby-tools
'flymake-ruby
'rinari
;; elixir
'elixir-mode
Expand Down

0 comments on commit 979b5d7

Please sign in to comment.