]> git.donarmstrong.com Git - lib.git/commitdiff
add flycheck
authorDon Armstrong <don@donarmstrong.com>
Sun, 25 Dec 2022 00:05:18 +0000 (16:05 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 25 Dec 2022 00:05:18 +0000 (16:05 -0800)
emacs_el/configuration/don-configuration.org

index 052323b80d185be45d585d98c25e9b9b836b6ce3..6235cc871256b51bf0d5be3082728b4e4bd7ee6a 100644 (file)
     )
 
 #+END_SRC
+
+** Flycheck
+#+begin_src emacs-lisp :tangle yes
+(use-package flycheck
+  :ensure t
+  :diminish ðŸ¦‹
+  :if (version<= "24.4" emacs-version)
+  :commands flycheck-mode
+  :hook ((prog-mode . flycheck-mode)
+         )
+)
+;; Other pkgs
+(use-package flycheck-tip
+  :ensure t
+  :commands 'flycheck-tip-cycle
+  :after flycheck
+  :bind (:map flycheck-mode-map
+              ("C-c C-n" . flycheck-tip-cycle)))
+
+(use-package flycheck-package
+  :ensure t)
+
+(use-package flycheck-checkpatch
+  :ensure t
+  :config (flycheck-checkpatch-setup)
+  :config (setq flycheck-checkers (delete 'checkpatch
+  flycheck-checkers))
+  :config (add-to-list 'flycheck-checkers 'checkpatch t))
+#+end_src  
+
 ** Flymake
 #+begin_src emacs-lisp :tangle yes
   (use-package flymake