Files
.emacs.d/lisp/init-prog.el
andsy10 ccd5c085f8 refactor(config): Clean up and reorganize Emacs configuration
Remove unused packages (EMMS, jinx, god-mode), simplify terminal
setup with ido instead of vertico/orderless, and reorganize
keybindings. Add new packages (debase, discomfort, git-timemachine,
edit-indirect) and improve EXWM, dired, and theme
configurations. Move restart-fcitx5 to kbd-func and update Linux
PATH for Guix.
2026-05-30 23:02:29 +08:00

60 lines
1.1 KiB
EmacsLisp

;;; init.el --- init.el -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; hs-minor-mode
(add-hook 'prog-mode-hook 'hs-minor-mode)
;; flycheck
(use-package flycheck)
(use-package flycheck-guile
:hook
(scheme-mode . (lambda ()
(require 'flycheck-guile))))
;; consult-flycheck
(use-package consult-flycheck)
;; tree-sitter
(use-package treesit-auto
:config
(setq treesit-auto-install 'prompt)
(global-treesit-auto-mode)
(setq treesit-font-lock-level 4))
;; scheme
(use-package geiser
:config
(with-eval-after-load 'geiser
(setq geiser-default-implementation 'guile)))
(use-package geiser-guile)
;; common-lisp
(use-package sly
:config
(setq sly-lisp-implementations nil))
;; markdown
(use-package markdown-mode
:bind
(:map markdown-mode-map
("C-c C-e" . markdown-do))
:hook
(markdown-mode . toggle-truncate-lines)
:init
(setq markdown-command "multimarkdown"
markdown-fontify-code-blocks-natively t))
(use-package edit-indirect)
;; html
(use-package htmlize)
(provide 'init-prog)
;;; init-prog.el ends here