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

18 lines
446 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"))
(lsp-deferred))