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