Proofreading .emacs.d/init.el

This commit is contained in:
Julien Palard 2023-11-23 22:28:09 +01:00
parent 729003065c
commit 2c4e1e34a7
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
2 changed files with 20 additions and 11 deletions

View File

@ -26,12 +26,11 @@
(when (not package-archive-contents)
(package-refresh-contents))
(use-package yasnippet-snippets
:load-path "~/clones/yasnippet-snippets"
)
(use-package ox-latex
(use-package ox-latex
:config
(add-to-list 'org-latex-classes
'("lettre"
@ -50,8 +49,7 @@
:ensure t
:config
(flycheck-grammalecte-setup)
(setq flycheck-global-modes '(not org-mode))
)
(setq flycheck-global-modes '(not org-mode)))
(use-package diminish
:ensure t)
@ -70,12 +68,13 @@
(lsp-signature-doc-lines 1)
(lsp-diagnostics-provider :none)
(lsp-jedi-pylsp-extra-paths [])
(lsp-keymap-prefix "C-c x")
(lsp-inlay-hint-enable t)
:config
(set-face-attribute 'lsp-face-highlight-textual nil
:background "#666" :foreground "#ffffff"
)
:hook ((python-mode) . lsp)
:hook (((python-mode) . lsp)
(rust-mode) .lsp)
:commands lsp-mode
)
@ -156,7 +155,6 @@
(setq version-control t ; (for backup files)
mouse-yank-at-point t
solarized-high-contrast-mode-line t
inhibit-startup-message t
make-backup-files t
backup-directory-alist (quote ((".*" . "~/.emacs.d/backup/")))
@ -214,7 +212,7 @@
(yas-global-mode 1)
(setq org-directory "~/Org")
(setq org-default-notes-file "~/Org/tasks.org")
(setq org-default-notes-file "~/Org/julien.org")
(custom-set-variables
;; custom-set-variables was added by Custom.
@ -223,14 +221,18 @@
;; If there is more than one, they won't work right.
'(auth-source-save-behavior nil)
'(c-basic-offset 4)
'(fido-mode t)
'(frame-background-mode 'dark)
'(icomplete-mode t)
'(org-agenda-files '("/home/mdk/Org/tasks.org" "/home/mdk/Org/julien.org"))
'(icomplete-vertical-mode t)
'(org-agenda-files '("/home/mdk/Org/julien.org"))
'(org-agenda-span 'fortnight)
'(org-modules
'(ol-bbdb ol-bibtex ol-docview ol-doi ol-eww ol-gnus org-habit ol-info ol-irc ol-mhe ol-rmail ol-w3m))
'(package-selected-packages
'(gnuplot-mode org-bullets rust-mode flycheck-grammalecte blacken spacemacs-theme company use-package zenburn-theme markdown-mode org po-mode yaml-mode)))
'(lorem-ipsum gnuplot-mode org-bullets rust-mode flycheck-grammalecte blacken spacemacs-theme company use-package markdown-mode org po-mode yaml-mode))
'(send-mail-function 'mailclient-send-it))
(setq rust-format-on-save t)
(load-theme 'spacemacs-light t)
(custom-theme-set-faces
@ -252,3 +254,8 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
;; For rust need : apt install rust-src rustup
;; $ rustup default stable
;; $ rustup component add rust-analyzer

View File

@ -34,9 +34,11 @@ apt install \
gnome \
jq \
keepassxc \
lesspipe \
libpq-dev \
python-openssl \
python3-full \
source-highlight \
tk-dev \
unifont
```