Rewrote initfiles
This commit is contained in:
parent
a58f4246ba
commit
e0c72477ae
16 changed files with 345 additions and 206 deletions
|
@ -1,3 +1,5 @@
|
|||
(add-hook 'prog-mode-hook 'my/enable-comment-hard-wrap)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.plist\\'" . nxml-mode))
|
||||
|
||||
(use-package dash-at-point :ensure t
|
||||
|
@ -8,7 +10,11 @@
|
|||
(add-to-list 'dash-at-point-mode-alist '(ruby-mode . "rb"))
|
||||
(add-to-list 'dash-at-point-mode-alist '(python-mode . "py2"))))
|
||||
|
||||
(use-package yaml-mode :ensure t :mode "\\.yaml\\'")
|
||||
(use-package yaml-mode :ensure t
|
||||
:defer t
|
||||
:config
|
||||
(defun my/setup-yaml-mode () (setq tab-width 2))
|
||||
(add-hook 'yaml-mode-hook 'my/setup-yaml-mode))
|
||||
|
||||
(use-package json-mode :ensure t
|
||||
:mode (("\\.json\\'" . json-mode)
|
||||
|
@ -63,6 +69,5 @@
|
|||
(my/setup-run-code ruby-mode-map "ruby")
|
||||
(nmap ruby-mode-map "gd" 'rsense-jump-to-definition)))
|
||||
|
||||
|
||||
;;
|
||||
(provide 'mod-dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue