Disable the magic comment insertion by default
This commit is contained in:
parent
f4f9f74075
commit
69078f8d9b
|
@ -283,6 +283,9 @@
|
||||||
("\\.\\(rb\\|rabl\\|ru\\|builder\\|rake\\|thor\\|gemspec\\|jbuilder\\|pryrc\\)\\'" . ruby-mode))
|
("\\.\\(rb\\|rabl\\|ru\\|builder\\|rake\\|thor\\|gemspec\\|jbuilder\\|pryrc\\)\\'" . ruby-mode))
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
|
;; This might have been important 10 years ago but now it's frustrating.
|
||||||
|
(setq ruby-insert-encoding-magic-comment nil)
|
||||||
|
|
||||||
(spacemacs/declare-prefix-for-mode 'ruby-mode "mt" "test")
|
(spacemacs/declare-prefix-for-mode 'ruby-mode "mt" "test")
|
||||||
(spacemacs/declare-prefix-for-mode 'ruby-mode "mT" "toggle")
|
(spacemacs/declare-prefix-for-mode 'ruby-mode "mT" "toggle")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue