Some speed optimizations

This commit is contained in:
Leni Ven 2023-01-11 11:59:10 -08:00
parent eb798b6a55
commit c01c180946
3 changed files with 16 additions and 15 deletions

View File

@ -1,11 +1,10 @@
"Initialization:
"Initialization:
This function is called at the very beginning of Spacemacs startup, This function is called at the very beginning of Spacemacs startup,
before layer configuration. before layer configuration.
It should only modify the values of Spacemacs settings." It should only modify the values of Spacemacs settings."
;; This setq-default sexp is an exhaustive list of all the supported ;; This setq-default sexp is an exhaustive list of all the supported
;; spacemacs settings. ;; spacemacs settings.
(setq-default (setq-default
;; If non-nil then enable support for the portable dumper. You'll need ;; If non-nil then enable support for the portable dumper. You'll need
;; to compile Emacs 27 from source following the instructions in file ;; to compile Emacs 27 from source following the instructions in file
;; EXPERIMENTAL.org at to root of the git repository. ;; EXPERIMENTAL.org at to root of the git repository.

View File

@ -38,11 +38,12 @@ This function should only modify configuration layer settings."
;; 3 Checker ;; 3 Checker
(spell-checking :variables ;; Required: aspell (spell-checking :variables ;; Required: aspell
spell-checking-enable-by-default t) spell-checking-enable-by-default nil)
syntax-checking syntax-checking
;; 4 Completion ;; 4 Completion
auto-completion auto-completion
helm ;helm ;; This is slow. Replace by ivy.
ivy
;; 6 Emacs ;; 6 Emacs
(org :variables (org :variables
@ -55,7 +56,7 @@ This function should only modify configuration layer settings."
;; 7 File trees ;; 7 File trees
treemacs treemacs
neotree ;neotree
;; 8 Fonts ;; 8 Fonts
unicode-fonts unicode-fonts
@ -76,7 +77,6 @@ This function should only modify configuration layer settings."
csv csv
bibtex bibtex
(latex :variables (latex :variables
;latex-build-command 'latexmk
latex-enable-folding t latex-enable-folding t
latex-enable-magic t latex-enable-magic t
) )
@ -119,7 +119,7 @@ This function should only modify configuration layer settings."
;; 22 Tools ;; 22 Tools
(cmake :variables (cmake :variables
cmake-backend 'lsp) cmake-backend 'lsp)
debug debug
docker docker
finance ;; Required: ledger finance ;; Required: ledger
@ -145,12 +145,15 @@ This function should only modify configuration layer settings."
'( '(
all-the-icons all-the-icons
centaur-tabs centaur-tabs
company-statistics
highlight-doxygen
smart-tabs-mode smart-tabs-mode
tablist tablist
exec-path-from-shell
mini-frame mini-frame
company-statistics
exec-path-from-shell
cmake-ide
highlight-doxygen
) )
;; A list of packages that cannot be updated. ;; A list of packages that cannot be updated.

View File

@ -1,5 +1,6 @@
;; Spacemacs itself ;; Spacemacs itself
(exec-path-from-shell-initialize) (exec-path-from-shell-initialize)
(spacemacs/enable-transparency)
;; Typing ;; Typing
(setq evil-indent-convert-tabs nil) (setq evil-indent-convert-tabs nil)
@ -52,8 +53,6 @@
(set-face-attribute 'font-lock-constant-face nil (set-face-attribute 'font-lock-constant-face nil
:foreground "#ecbd3d") :foreground "#ecbd3d")
(spacemacs/enable-transparency)
;; Org mode ;; Org mode
(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0)) (setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))