;; ditz
(require-if-present 'ditz)
+;; flycheck
+(require-if-present 'flycheck)
+(if (featurep 'flycheck)
+ (global-flycheck-mode))
+
+(require-if-present 'flycheck-inline)
+(if (featurep 'flycheck-inline)
+ (with-eval-after-load 'flycheck
+ (add-hook 'flycheck-mode-hook #'flycheck-inline-mode)))
+
;; flyspell
(require-if-present 'flyspell)
(autoload 'rust-mode "rust-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
+(require-if-present 'flycheck-rust)
+(if (featurep 'flycheck-rust)
+ (with-eval-after-load 'rust-mode
+ (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
+
;; session
(require-if-present 'session)
(if (featurep 'session)
("melpa" . "https://melpa.org/packages/"))))
'(package-selected-packages
(quote
- (undo-tree auto-complete typescript-mode cargo toml-mode rust-mode)))
+ (flycheck-inline flycheck-rust undo-tree auto-complete typescript-mode cargo toml-mode rust-mode)))
'(rcirc-server-alist (quote (("irc1.ymir.jp" :nick "PHO`cons" nil nil))))
'(riece-layout "default")
'(riece-layout-alist