diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-21 20:59:25 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-21 20:59:25 -0400 |
commit | 6d6a9c85338a2261c130a934237eb30df878f7c2 (patch) | |
tree | b00216d343fe6822af64cac3dc24475abb95acf6 | |
parent | Add `lsp-mode` for IDE features (diff) | |
download | mmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.tar.gz mmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.tar.bz2 mmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.zip |
Only start `flycheck-mode` in appropriate buffers
-rw-r--r-- | init.el | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -806,8 +806,7 @@ | |||
806 | 806 | ||
807 | ;; Flycheck | 807 | ;; Flycheck |
808 | (use-package flycheck | 808 | (use-package flycheck |
809 | :straight t | 809 | :straight t) |
810 | :init (global-flycheck-mode)) | ||
811 | 810 | ||
812 | 811 | ||
813 | ;; --------------------------------- | 812 | ;; --------------------------------- |
@@ -822,6 +821,18 @@ | |||
822 | :init (setq lsp-keymap-prefix "C-c l")) | 821 | :init (setq lsp-keymap-prefix "C-c l")) |
823 | 822 | ||
824 | 823 | ||
824 | ;; --------------------------------- | ||
825 | ;; Emacs Lisp | ||
826 | ;; ---------- | ||
827 | ;; The language we all know and love | ||
828 | ;; --------------------------------- | ||
829 | |||
830 | (use-package elisp-mode | ||
831 | :straight (:type built-in) | ||
832 | :commands (emacs-lisp-mode) | ||
833 | :hook (emacs-lisp-mode . flycheck-mode)) | ||
834 | |||
835 | |||
825 | 836 | ||
826 | 837 | ||
827 | ;; --------------------------------------------------------------------- | 838 | ;; --------------------------------------------------------------------- |