Proofreading .emacs.d/init.el
This commit is contained in:
parent
729003065c
commit
2c4e1e34a7
|
@ -26,12 +26,11 @@
|
||||||
(when (not package-archive-contents)
|
(when (not package-archive-contents)
|
||||||
(package-refresh-contents))
|
(package-refresh-contents))
|
||||||
|
|
||||||
|
|
||||||
(use-package yasnippet-snippets
|
(use-package yasnippet-snippets
|
||||||
:load-path "~/clones/yasnippet-snippets"
|
:load-path "~/clones/yasnippet-snippets"
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package ox-latex
|
(use-package ox-latex
|
||||||
:config
|
:config
|
||||||
(add-to-list 'org-latex-classes
|
(add-to-list 'org-latex-classes
|
||||||
'("lettre"
|
'("lettre"
|
||||||
|
@ -50,8 +49,7 @@
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(flycheck-grammalecte-setup)
|
(flycheck-grammalecte-setup)
|
||||||
(setq flycheck-global-modes '(not org-mode))
|
(setq flycheck-global-modes '(not org-mode)))
|
||||||
)
|
|
||||||
|
|
||||||
(use-package diminish
|
(use-package diminish
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
@ -70,12 +68,13 @@
|
||||||
(lsp-signature-doc-lines 1)
|
(lsp-signature-doc-lines 1)
|
||||||
(lsp-diagnostics-provider :none)
|
(lsp-diagnostics-provider :none)
|
||||||
(lsp-jedi-pylsp-extra-paths [])
|
(lsp-jedi-pylsp-extra-paths [])
|
||||||
(lsp-keymap-prefix "C-c x")
|
(lsp-inlay-hint-enable t)
|
||||||
:config
|
:config
|
||||||
(set-face-attribute 'lsp-face-highlight-textual nil
|
(set-face-attribute 'lsp-face-highlight-textual nil
|
||||||
:background "#666" :foreground "#ffffff"
|
:background "#666" :foreground "#ffffff"
|
||||||
)
|
)
|
||||||
:hook ((python-mode) . lsp)
|
:hook (((python-mode) . lsp)
|
||||||
|
(rust-mode) .lsp)
|
||||||
:commands lsp-mode
|
:commands lsp-mode
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -156,7 +155,6 @@
|
||||||
|
|
||||||
(setq version-control t ; (for backup files)
|
(setq version-control t ; (for backup files)
|
||||||
mouse-yank-at-point t
|
mouse-yank-at-point t
|
||||||
solarized-high-contrast-mode-line t
|
|
||||||
inhibit-startup-message t
|
inhibit-startup-message t
|
||||||
make-backup-files t
|
make-backup-files t
|
||||||
backup-directory-alist (quote ((".*" . "~/.emacs.d/backup/")))
|
backup-directory-alist (quote ((".*" . "~/.emacs.d/backup/")))
|
||||||
|
@ -214,7 +212,7 @@
|
||||||
(yas-global-mode 1)
|
(yas-global-mode 1)
|
||||||
|
|
||||||
(setq org-directory "~/Org")
|
(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
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
|
@ -223,14 +221,18 @@
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(auth-source-save-behavior nil)
|
'(auth-source-save-behavior nil)
|
||||||
'(c-basic-offset 4)
|
'(c-basic-offset 4)
|
||||||
|
'(fido-mode t)
|
||||||
'(frame-background-mode 'dark)
|
'(frame-background-mode 'dark)
|
||||||
'(icomplete-mode t)
|
'(icomplete-vertical-mode t)
|
||||||
'(org-agenda-files '("/home/mdk/Org/tasks.org" "/home/mdk/Org/julien.org"))
|
'(org-agenda-files '("/home/mdk/Org/julien.org"))
|
||||||
'(org-agenda-span 'fortnight)
|
'(org-agenda-span 'fortnight)
|
||||||
'(org-modules
|
'(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))
|
'(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
|
'(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)
|
(load-theme 'spacemacs-light t)
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
|
@ -252,3 +254,8 @@
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; 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
|
||||||
|
|
Loading…
Reference in New Issue