(setenv"LSP_USE_PLISTS""true"); Make lsp-mode use plists
;;
(setqc-default-stylenil); Clear default styles for languages, will set them up later
(setqdefault-input-methodnil); Disable default input method, I'm not using them anyway so far
(setqinitial-major-mode'fundamental-mode); Use fundamental mode in scratch buffer, speed up loading, not really important when emacs used as daemon
(setqauto-save-defaultnil); TODO: configure auto saves, disable for now
(setqbackup-directory-alist
`((".*".,(concatuser-emacs-directory"var/backups/")))); Set backup location
(setqauto-save-file-name-transforms
`((".*",(concatuser-emacs-directory"var/recovery/")t))); Set auto-save location
(setqauto-save-list-file-prefix(concatuser-emacs-directory"var/auto-save/sessions/")); Set auto-save-list location
(setqload-prefer-newert); Prefer newer files to load
;; Packages
(setqpackage-enable-at-startupt); Ensure packages are enable since I'm either using built in package manager or nix
(setqpackage-quickstartnil); Disable package quickstart, it's annoying if forget to update it and doesn't speed up much
(add-to-list'load-path(concatuser-emacs-directory"etc/materus/extra")); Extra load path for packages
(setqpackage-user-dir(concatuser-emacs-directory"var/elpa/"emacs-version"/")); Set elpa path for this emacs version, should use nix packages anyway so keeping just in case
(setqpackage-gnupghome-dir(concatuser-emacs-directory"var/elpa/gnupg/")); Set path to gnupg for elpa
(add-to-list'package-archives
'("nongnu-devel"."https://elpa.nongnu.org/nongnu-devel/")); Add nongnu-devel repo to package manager
(add-to-list'package-archives'("melpa"."https://melpa.org/packages/")t); Add melpa repo to package manager
(add-to-list'initial-frame-alist'(fullscreen.maximized))); Start first frame maximized if not running as daemon, daemon frame are set up later in config
(setqdefault-frame-alist; Set default size for frames