no wonder that wasnt working

This commit is contained in:
Mars 2024-08-15 01:43:17 -04:00
parent 19374f6c07
commit 7b29e6e7c7
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -13,6 +13,15 @@
(unless (server-running-p) (server-start))
#+end_src
** Disable Auto-Save and Backup
*** (I don't like having ~#file#~ and ~file~~ everywhere in my directories)
#+begin_src
(setq auto-save-default nil)
(setq make-backup-files nil)
#+end_src
** No Scratch On Open
#+begin_src emacs-lisp
@ -25,15 +34,10 @@
(kill-buffer "*scratch*"))))
#+end_src
** Fix Indents
** Fix Indents + Enable Autopairs
#+begin_src emacs-lisp
(electric-indent-mode 1)
#+end_src
** Autopairs
#+begin_src emacs-lisp
(electric-pair-mode 1)
#+end_src
@ -79,7 +83,7 @@
#+begin_src emacs-lisp
(setq use-short-answers t)
#+end_src emacs-lisp
#+end_src
* Package Management
@ -185,7 +189,7 @@
(setq treesit-font-lock-level 4))
(use-package tree-sitter-langs)
(use-package tree-sitter
:diminish
:after (tree-sitter-langs)
@ -325,9 +329,9 @@
#+begin_src emacs-lisp
;; Inhibits autopairs from running for <> in org mode
(add-hook 'org-mode-hook
(lambda ()
(setq-local electric-pair-inhibit-predicate
`(lambda (c) (if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
(lambda ()
(setq-local electric-pair-inhibit-predicate
`(lambda (c) (if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
(require 'org-tempo)
(add-to-list 'org-modules 'org-tempo t)