-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathearly-init.el
30 lines (24 loc) · 1.09 KB
/
early-init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;;; early-init.el --- summary -*- lexical-binding: t; -*-
;;; commentary:
;;; code:
;; (setq init.el/completion-lsp-allow-trigger-chars nil)
;; (setq init.el/completion-lsp-disallowed-categories nil)
;; (setq init.el/completion-minimum-prefix-length 3)
;; (setq init.el/completion-quick-access t)
;; (setq init.el/preferred-completion-ui 'company)
;; (setq init.el/preferred-diagnostics-reporter 'flycheck)
;; (setq init.el/preferred-documentation-ui 'echo)
;; (setq init.el/preferred-lsp-client 'eglot)
(setq-default indent-tabs-mode nil)
;; Ignore native compilation warnings (usually a nuisance)
(setopt native-comp-async-report-warnings-errors 'silent)
;; Byte-compiled files may not be compatible between different Emacs
;; versions, and since (M)ELPA installed packages are compiled in
;; their own sub-directories within `package-user-dir', use a separate
;; `package-user-dir' for different versions of Emacs.
(setq package-user-dir
(expand-file-name
(format "elpa/%s.%s" emacs-major-version emacs-minor-version)
user-emacs-directory))
(provide 'early-init)
;;; early-init.el ends here