nix/home-manager/common/software/cli/themes/green/doom-emacs.d/config.el
2023-11-19 20:20:37 +09:00

22 lines
No EOL
508 B
EmacsLisp

;; Themes
(setq doom-theme 'gruvbox-dark-hard)
(setq doom-themes-treemacs-theme "doom-colors")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; LSP Modules
;; Bash
(use-package lsp-mode
:commands lsp
:hook
(sh-mode . lsp))
;; Python
(defun lspython ()
"Updates the lsp-python-ms-executable variable and runs lsp."
(interactive)
(setq lsp-python-ms-executable (executable-find "python-lsp-server"))
(lsp-deferred))
;; Rust
(after! rustic
(setq rustic-lsp-server 'rls))