Fix last commit

This commit is contained in:
Alexander Rosenberg 2024-12-25 03:22:27 -08:00
parent 80a0d4aefe
commit e1b18eeefe
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -2,6 +2,8 @@
;;; Commentary:
;;; Code:
(require 'cl-lib)
;; Some other config files
(cl-eval-when (compile load eval)
(add-to-list 'load-path (expand-file-name "elisp" user-emacs-directory))
@ -140,6 +142,9 @@
(keymap-global-set "C-c k" #'previous-buffer)
(keymap-global-set "C-c j" #'next-buffer)
;; Seems useful...
(keymap-global-set "C-c u" #'browse-url)
;; Set fonts
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12"))
(add-hook 'server-after-make-frame-hook
@ -1221,8 +1226,9 @@ With PROJECT, give diagnostics for all buffers in the current project."
:init
(add-to-list 'auto-mode-alist `(,(rx "/.clang-format" eos) . yaml-ts-mode))
:config
(with-eval-after-load 'apheleia
(setf (alist-get 'java-mode apheleia-mode-alist) 'clang-format
(alist-get 'java-ts-mode apheleia-mode-alist) 'clang-format)
(alist-get 'java-ts-mode apheleia-mode-alist) 'clang-format))
(apheleia-global-mode +1))
;; gud