Browse Source

Back to eglot, silly lsp, so heavy

Colin Powell 5 years ago
parent
commit
07b35addbd
3 changed files with 9 additions and 3 deletions
  1. 6 2
      emacs/.config/doom/config.el
  2. 1 1
      emacs/.config/doom/init.el
  3. 2 0
      emacs/.config/doom/packages.el

+ 6 - 2
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")

+ 1 - 1
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

+ 2 - 0
emacs/.config/doom/packages.el

@@ -20,6 +20,8 @@
   :recipe (:host github
            :repo "Fuco1/justify-kp"))
 
+(package! eglot)
+
 ;; python stuffs
 (package! w3m)
 (package! blacken)