simpc-mode

This commit is contained in:
2026-07-24 13:18:30 +08:00
parent 6a5f996b1a
commit 8dca860c58
2 changed files with 139 additions and 0 deletions
+12
View File
@@ -64,6 +64,7 @@
;; Important packages
;;======================
;; dark theme
(use-package gruber-darker-theme
:ensure t
:init
@@ -75,3 +76,14 @@
(setq dimmer-fraction 0.3) ; 调整变暗的程度(0.0 到y 1.0,越大越暗,0.3 刚刚好)
:config
(dimmer-mode 1))
;;========================
;; Package settings
;;========================
;; ---- simplec-mode -----------
(add-to-list 'load-path (expand-file-name "vendor/simpc-mode" user-emacs-directory))
(require 'simpc-mode)
(add-to-list 'auto-mode-alist '("\\.[hc]\\(pp\\)?\\'" . simpc-mode))
;; --- end of simplec-mode ------