Add config.el to doom-emacs.d default settings

This commit is contained in:
iFargle 2023-09-15 19:49:32 +09:00
parent 7491c52ce2
commit 6d4c9278ce

View file

@ -0,0 +1,22 @@
;; 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))