aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-21 20:59:25 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-05-21 20:59:25 -0400
commit6d6a9c85338a2261c130a934237eb30df878f7c2 (patch)
treeb00216d343fe6822af64cac3dc24475abb95acf6 /init.el
parentAdd `lsp-mode` for IDE features (diff)
downloadmmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.tar.gz
mmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.tar.bz2
mmosmacs-6d6a9c85338a2261c130a934237eb30df878f7c2.zip
Only start `flycheck-mode` in appropriate buffers
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/init.el b/init.el
index 14055be..8659832 100644
--- a/init.el
+++ b/init.el
@@ -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;; ---------------------------------------------------------------------