From 6d4c9278ce7542414bc00d7cb7db0114f7a65d42 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 15 Sep 2023 19:49:32 +0900 Subject: [PATCH] Add config.el to doom-emacs.d default settings --- .../cli/themes/default/doom-emacs.d/config.el | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 home-manager/common/software/cli/themes/default/doom-emacs.d/config.el diff --git a/home-manager/common/software/cli/themes/default/doom-emacs.d/config.el b/home-manager/common/software/cli/themes/default/doom-emacs.d/config.el new file mode 100644 index 00000000..5eafdbf6 --- /dev/null +++ b/home-manager/common/software/cli/themes/default/doom-emacs.d/config.el @@ -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)) \ No newline at end of file