From c1957d7bcd2c168b786548ad96f87fa0668bf11b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 5 Sep 2020 13:41:29 +0300 Subject: fix(emacs.d/init.el): cleanups to shut up flycheck --- emacs.d/init.el | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 9b1f2b8..e4c09be 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -1,4 +1,8 @@ -;;; init.el --- my Emacs init +;;;; package -- Summary +;;;; Commentary: +;;; My Emacs init + +;;; Code: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Initialise package system. @@ -64,11 +68,11 @@ (use-package rust-mode :config - (setq rust-format-on-save t)) + (setq-default rust-format-on-save t)) (use-package flycheck :config - (setq-default flycheck-disabled-checkers '(python-pylint))) + (setq-default flycheck-disabled-checkers '(ptyhon-pylint))) (use-package flycheck-rust) @@ -176,3 +180,7 @@ ;; Show matching parens. (add-hook 'text-mode-hook 'show-paren-mode) (add-hook 'prog-mode-hook 'show-paren-mode) + + +(provide 'init) +;;; init.el ends here -- cgit v1.2.1