Update emacs/init.el for emacs 25
This commit is contained in:
parent
b2f4a3e94f
commit
631add6e73
1 changed files with 6 additions and 0 deletions
|
|
@ -83,6 +83,9 @@
|
||||||
'(initial-scratch-message "")
|
'(initial-scratch-message "")
|
||||||
'(menu-bar-mode nil)
|
'(menu-bar-mode nil)
|
||||||
'(mouse-wheel-mode nil)
|
'(mouse-wheel-mode nil)
|
||||||
|
'(package-selected-packages
|
||||||
|
(quote
|
||||||
|
(yaml-mode web-mode typescript-mode scala-mode php-mode markdown-mode js2-mode haskell-mode go-mode evil-surround evil-leader evil autopair)))
|
||||||
'(require-final-newline t)
|
'(require-final-newline t)
|
||||||
'(scheme-program-name "racket")
|
'(scheme-program-name "racket")
|
||||||
'(show-paren-delay 0)
|
'(show-paren-delay 0)
|
||||||
|
|
@ -239,6 +242,9 @@ they line up with the line containing the corresponding opening bracket."
|
||||||
(add-to-list 'auto-mode-alist '("\\.scss\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.scss\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
|
||||||
|
|
||||||
|
(setq web-mode-content-types-alist
|
||||||
|
'(("jsx" . "\\.jsx?\\'")))
|
||||||
|
|
||||||
(add-hook 'web-mode-hook
|
(add-hook 'web-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq web-mode-markup-indent-offset 2)
|
(setq web-mode-markup-indent-offset 2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue