init-loader
This commit is contained in:
parent
da8f392913
commit
6441f0b40c
1 changed files with 17 additions and 8 deletions
25
init.el
25
init.el
|
|
@ -12,6 +12,15 @@
|
|||
(package-initialize)
|
||||
;; init.el の内容
|
||||
|
||||
;; use-packageが入っていなければインストール
|
||||
(unless (package-installed-p 'use-package)
|
||||
(package-refresh-contents)
|
||||
(package-install 'use-package))
|
||||
|
||||
(require 'use-package)
|
||||
;; 常にパッケージをインストールするように設定 (:ensure t を省略可能にする)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
;; パッケージ管理の設定など、最も基本的な設定はここ
|
||||
;; (package-initialize) など
|
||||
|
||||
|
|
@ -98,16 +107,16 @@
|
|||
flycheck-color-mode-line flycheck-inline ollama-buddy
|
||||
rainbow-delimiters vertico))
|
||||
'(warning-suppress-log-types '((comp) (comp) (comp))))
|
||||
;; init-loader パッケージをロードします。
|
||||
(require 'init-loader)
|
||||
|
||||
;; init-loader に設定ファイルが置かれているディレクトリを教えます。
|
||||
(setq init-loader-load-path '("~/.emacs.d/inits"))
|
||||
;; --- init-loader の設定 (use-package 版) ---
|
||||
;; version: 1.1.0 (2026-01-27)
|
||||
|
||||
;; init-loader に設定ファイルのロードを開始するよう指示します。
|
||||
(init-loader-load)
|
||||
|
||||
;; --- init-loader 設定終了 ---
|
||||
(use-package init-loader
|
||||
:ensure t ; パッケージがなければ自動インストール
|
||||
:init ; ロードされる前に実行する設定
|
||||
(setq init-loader-load-path '("~/.emacs.d/inits"))
|
||||
:config ; ロードされた後に実行する設定
|
||||
(init-loader-load))
|
||||
|
||||
|
||||
;(setq chatgpt-shell-anthropic-key "my-key")
|
||||
|
|
|
|||
Loading…
Reference in a new issue