This commit is contained in:
Zelong Kuang
2026-04-02 13:27:43 +11:00
parent 3e88318f79
commit a416bffb54
12 changed files with 104 additions and 56 deletions

View File

@@ -17,7 +17,7 @@
(setq use-package-enable-imenu-support t)
(setq load-prefer-newer noninteractive)
(setenv "LSP_USE_PLISTS" "true")
(setenv "LSP_USE_PLISTS" "true") ;; Lsp-mode plists
;; PERF: Many elisp file API calls consult `file-name-handler-alist'.
;; Setting it to nil speeds up startup significantly.
@@ -34,6 +34,15 @@
;; Inhibit resizing frame
(setq frame-inhibit-implied-resize t)
;; Suppress GUI features
(setq use-file-dialog nil
use-dialog-box nil
inhibit-startup-screen t
inhibit-startup-echo-area-message user-login-name
inhibit-default-init t
initial-major-mode 'fundamental-mode
initial-scratch-message nil)
;; Faster to disable these here (before they've been initialized)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)