Change flycheck initialization strategy
Initialize it globally and turn it off where needed, instead of enabling it on demand. Also fixes void-function: flycheck-mode errors when :feature syntax-checker is disabled. This is experimental. Indirectly fixes #710
This commit is contained in:
parent
dbc7b667cf
commit
e05d7cfee0
24 changed files with 26 additions and 49 deletions
|
@ -22,8 +22,6 @@
|
|||
;; Don't interfere with my custom RET behavior
|
||||
(define-key ruby-mode-map [?\n] nil)
|
||||
|
||||
(add-hook 'ruby-mode-hook #'flycheck-mode)
|
||||
|
||||
;; Version management with rbenv
|
||||
(defun +ruby|add-version-to-modeline ()
|
||||
"Add version string to the major mode in the modeline."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue