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