add: stuff to the .emacs config
This commit is contained in:
7
.emacs
7
.emacs
@@ -66,9 +66,14 @@
|
|||||||
(lsp-rust-analyzer-display-reborrow-hints nil)
|
(lsp-rust-analyzer-display-reborrow-hints nil)
|
||||||
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
|
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
|
||||||
(c-mode . lsp)
|
(c-mode . lsp)
|
||||||
|
(c++-mode . lsp)
|
||||||
|
(haskell-mode . lsp)
|
||||||
(python-mode . lsp))
|
(python-mode . lsp))
|
||||||
:commands lsp)
|
:commands lsp)
|
||||||
|
|
||||||
|
(add-hook 'haskell-mode-hook #'lsp)
|
||||||
|
(add-hook 'haskell-literate-mode-hook #'lsp)
|
||||||
|
|
||||||
;;https://robert.kra.hn/posts/rust-emacs-setup/
|
;;https://robert.kra.hn/posts/rust-emacs-setup/
|
||||||
(use-package rustic
|
(use-package rustic
|
||||||
:ensure
|
:ensure
|
||||||
@@ -179,7 +184,7 @@
|
|||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(inhibit-startup-screen t)
|
'(inhibit-startup-screen t)
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(benchmark-init company simpleclip rust-mode org-cliplink neotree magit gruber-darker-theme go-mode evil dash-functional all-the-icons)))
|
'(lsp-haskell benchmark-init company simpleclip rust-mode org-cliplink neotree magit gruber-darker-theme go-mode evil dash-functional all-the-icons)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|||||||
Reference in New Issue
Block a user