diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 82cd6db..5a5cdc7 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -86,8 +86,8 @@ (setq alert-default-style 'libnotify)) ;; enable smog writing analysis -(use-package smog - :config (setq smog-command "style -L en")) +;;(use-package smog +;; :config (setq smog-command "style -L en")) ;; ;; Modules @@ -96,6 +96,10 @@ +format-on-save-enabled-modes '(python-mode) +pretty-code-enabled-modes '(emacs-lisp-mode org-mode)) +;; app/eglot +;; Back to eglot ... +(add-hook 'foo-mode-hook 'eglot-ensure) + ;; app/mpdel ;; (setq libmpdel-hostname "play.unbl.ink") diff --git a/emacs/.config/doom/init.el b/emacs/.config/doom/init.el index 8ef5bc6..84f936b 100644 --- a/emacs/.config/doom/init.el +++ b/emacs/.config/doom/init.el @@ -82,7 +82,7 @@ gist ; interacting with github gists (lookup ; helps you navigate your code and documentation +docsets) ; ...or in Dash docsets locally - lsp + ;;lsp ;;macos ; MacOS-specific commands magit ; a git porcelain for Emacs make ; run make tasks from Emacs diff --git a/emacs/.config/doom/packages.el b/emacs/.config/doom/packages.el index e465b97..3db0516 100644 --- a/emacs/.config/doom/packages.el +++ b/emacs/.config/doom/packages.el @@ -20,6 +20,8 @@ :recipe (:host github :repo "Fuco1/justify-kp")) +(package! eglot) + ;; python stuffs (package! w3m) (package! blacken)