Add config.el to doom-emacs.d default settings
This commit is contained in:
parent
7491c52ce2
commit
6d4c9278ce
1 changed files with 22 additions and 0 deletions
|
@ -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))
|
Loading…
Reference in a new issue