feat(emacs): LLM, LaTeX

This commit is contained in:
js0ny 2025-05-13 21:01:06 +01:00
parent 9b19b8b834
commit cb81828291
8 changed files with 161 additions and 47 deletions

View file

@ -1,12 +1,23 @@
;;; init-appearance.el
(when (display-graphic-p)
(add-to-list 'default-frame-alist '(font . "Maple Mono NF CN")))
;; Always set frame font
;; If don't set this, `emacs --daemon' will not set the font
;; for new graphical frames.
(add-to-list 'default-frame-alist '(font . "Maple Mono NF CN"))
;; Set CJK Display Font
(dolist (charset '(kana han cjk-misc bopomofo))
(set-fontset-font t charset (font-spec :family "Maple Mono NF CN")))
;; Variable Pitch Font
;; Used in `variable-pitch-mode'
(set-face-attribute 'variable-pitch nil
:family "LXGW WenKai Screen"
:height 140
:weight 'regular)
;; Icon Support
;; Once installed, Manually install the fonts required:
;; M-x all-the-icons-install-fonts
@ -87,6 +98,13 @@
(global-tab-line-mode) ; bufferline
(use-package highlight-indent-guides
:hook ((prog-mode yaml-mode org-mode) . highlight-indent-guides-mode)
:init
(setq highlight-indent-guides-method 'column)
(setq highlight-indent-guides-responsive 'top)
(setq highlight-indent-guides-auto-character-face-perc 5))
(provide 'init-appearance)