Fix last commit
This commit is contained in:
		
							
								
								
									
										10
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								init.el
									
									
									
									
									
								
							| @ -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 | ||||||
|   (setf (alist-get 'java-mode apheleia-mode-alist) 'clang-format |   (with-eval-after-load 'apheleia | ||||||
|         (alist-get 'java-ts-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)) | ||||||
|   (apheleia-global-mode +1)) |   (apheleia-global-mode +1)) | ||||||
|  |  | ||||||
| ;; gud | ;; gud | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user