summary refs log tree commit diff stats
path: root/user/emacs/early-init.el
blob: 8617e3f29fe95596340e6e49eb91408b19835e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(setq inhibit-startup-screen t
      initial-scratch-message ""
      initial-major-mode 'fundamental-mode
      frame-inhibit-implied-resize t
      byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local cl-functions))

;; Disable all the bars, unless on macOS, in which case, keep the menu bar.
(unless (eq window-system 'ns)
  (menu-bar-mode -1))
(scroll-bar-mode -1)
(tool-bar-mode -1)
(set-fringe-mode '(4 . 4))

(setenv "LSP_USE_PLISTS" "true") ; must match with lsp-mode override