summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-05 13:41:29 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-05 13:41:29 +0300
commitc1957d7bcd2c168b786548ad96f87fa0668bf11b (patch)
tree6074f585793528bbe5fe764d61b999a16f31dbf8
parent231bafd225be1ed42c14f9ed79cfe336fd630776 (diff)
downloadliw-dot-files-c1957d7bcd2c168b786548ad96f87fa0668bf11b.tar.gz
fix(emacs.d/init.el): cleanups to shut up flycheck
-rw-r--r--emacs.d/init.el14
1 files 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