Ver Fonte

cleanup lsp fix & remove flycheck load

Josh Bicking há 2 dias atrás
pai
commit
63545e0901
2 ficheiros alterados com 4 adições e 16 exclusões
  1. 0 11
      doom/.config/doom/config.el
  2. 4 5
      doom/.config/doom/init.el

+ 0 - 11
doom/.config/doom/config.el

@@ -88,14 +88,3 @@
   (spell-fu-dictionary-add
    (spell-fu-get-personal-dictionary "en-personal" "~/.aspell.en.pws"))
   )
-
-
-(after! lsp-mode
-  (defun ak-lsp-ignore-semgrep-rulesRefreshed (workspace notification)
-    "Ignore semgrep/rulesRefreshed notification."
-    (when (equal (gethash "method" notification) "semgrep/rulesRefreshed")
-      (lsp--info "Ignored semgrep/rulesRefreshed notification")
-      t)) ;; Return t to indicate the notification is handled
-
-  (advice-add 'lsp--on-notification :before-until #'ak-lsp-ignore-semgrep-rulesRefreshed)
-  )

+ 4 - 5
doom/.config/doom/init.el

@@ -78,12 +78,11 @@
        ;;eshell            ; the elisp shell that works everywhere
        ;;shell             ; simple shell REPL for Emacs
        ;;term              ; basic terminal emulator for Emacs
-       vterm             ; the best terminal emulation in Emacs
+       vterm               ; the best terminal emulation in Emacs
 
        :checkers
-       syntax              ; tasing you for every semicolon you forget
-       ;;(spell +flyspell) ; tasing you for misspelling mispelling
-       spell
+       ;;syntax            ; tasing you for every semicolon you forget
+       (:if (executable-find "aspell") (spell +aspell)) ; tasing you for misspelling mispelling
        ;;grammar           ; tasing grammar mistake every you make
 
        :tools
@@ -159,7 +158,7 @@
        ;;php               ; perl's insecure younger brother
        ;;plantuml          ; diagrams for confusing people more
        ;;purescript        ; javascript, but functional
-       (python +lsp +pyenv +pyright)       ; beautiful is better than ugly
+       (python +lsp)       ; beautiful is better than ugly
        ;;qt                ; the 'cutest' gui framework ever
        ;;racket            ; a DSL for DSLs
        ;;raku              ; the artist formerly known as perl6