Remove leftovers of Flymake

Also, configure company-backends a little bit better
This commit is contained in:
Maciej 2018-09-10 11:05:42 +03:00
parent 7c3c6c16d8
commit e2fad295e6
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 6 additions and 15 deletions

View file

@ -7,7 +7,6 @@
(add-hook 'ruby-mode-hook 'enh-ruby-mode)
(add-hook 'enh-ruby-mode-hook 'robe-mode)
(add-hook 'enh-ruby-mode-hook 'ruby-end-mode)
(add-hook 'enh-ruby-mode-hook 'flymake-mode)
(eval-after-load 'company
'(push 'company-robe company-backends))
@ -22,10 +21,7 @@
(column-enforce-n 80))
;; Do not insert magic encoding comment at the begining of each file
(setq ruby-insert-encoding-magic-comment nil)
;; Start flymake
(flymake-ruby-load))
(setq ruby-insert-encoding-magic-comment nil))
(add-hook 'enh-ruby-mode-hook 'activate-ruby-mode)
@ -38,4 +34,3 @@
'(("erb" . (("<%" "%>")
("beg" "end")))
))
(add-hook 'web-mode-hook 'flymake-mode)