nix/home-manager/common/software/cli/themes/default/doom-emacs.d/config.el
2023-10-16 12:39:13 +09:00

22 lines
512 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))