nix/home-manager/common/software/cli/gruvbox/doom-emacs.d/config.el

22 lines
508 B
EmacsLisp
Raw Normal View History

2023-08-30 05:20:34 +02:00
;; Themes
2023-08-29 05:35:47 +02:00
(setq doom-theme 'gruvbox-dark-hard)
(setq doom-themes-treemacs-theme "doom-colors")
2023-08-30 05:20:34 +02:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; LSP Modules
;; Bash
(use-package lsp-mode
:commands lsp
:hook
(sh-mode . lsp))
2023-08-30 05:44:12 +02:00
;; Python
(defun lspython ()
"Updates the lsp-python-ms-executable variable and runs lsp."
(interactive)
(setq lsp-python-ms-executable (executable-find "python-lsp-server"))
2023-09-01 06:11:16 +02:00
(lsp-deferred))
;; Rust
(after! rustic
(setq rustic-lsp-server 'rls))