Make language packages nicer
This commit is contained in:
parent
f1d3e7d6d7
commit
4b10beec8d
12 changed files with 82 additions and 28 deletions
|
|
@ -2,8 +2,11 @@
|
|||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require '05prog-mode "$HOME/.emacs.d/05prog-mode.el")
|
||||
(require '05flycheck "$HOME/.emacs.d/05flycheck.el")
|
||||
|
||||
(defun activate-rust-mode ()
|
||||
"All things for Rust mode"
|
||||
"All things for Rust mode."
|
||||
(interactive)
|
||||
(set-indent 4)
|
||||
(column-enforce-n 99)
|
||||
|
|
@ -16,5 +19,5 @@
|
|||
(add-hook 'rust-mode-hook 'activate-rust-mode)
|
||||
(add-hook 'rust-mode-hook 'flycheck-rust-setup)
|
||||
|
||||
(provide 'rust)
|
||||
(provide 'languages/rust)
|
||||
;;; rust.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue