Ver Fonte

[emacs] Moving back to company and clean up python

Colin Powell há 3 semanas atrás
pai
commit
876c0a1f0b
2 ficheiros alterados com 8 adições e 3 exclusões
  1. 2 0
      emacs/.config/doom/config.el
  2. 6 3
      emacs/.config/doom/init.el

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

@@ -25,6 +25,8 @@
 (advice-add 'org-agenda :before #'vulpea-agenda-files-update)
 (advice-add 'org-todo-list :before #'vulpea-agenda-files-update)
 
+(setq +format-on-save-disabled-modes (add-to-list '+format-on-save-disabled-modes 'typescript-mode))
+
 (map! ;; Easier window movement
  :n "C-h" 'evil-window-left
  :n "C-j" 'evil-window-down

+ 6 - 3
emacs/.config/doom/init.el

@@ -21,10 +21,10 @@
        ;;layout            ; auie,ctsrnm is the superior home row
 
        :completion
-       ;;(company +fuzzy)    ; the ultimate code completion backend
+       (company +fuzzy)    ; the ultimate code completion backend
        ;;helm              ; the *other* search engine for love and life
        ;;ido               ; the other *other* search engine...
-       (ivy +fuzzy)      ; a search engine for love and life
+       ;;(ivy +fuzzy)      ; a search engine for love and life
        vertico           ; the search engine of the future
 
        :ui
@@ -165,7 +165,10 @@
        ;;php               ; perl's insecure younger brother
        ;;plantuml          ; diagrams for confusing people more
        ;;purescript        ; javascript, but functional
-       (python +lsp +pyright) ; beautiful is better than ugly
+       (python
+        +poetry
+        +lsp
+        +pyright) ; beautiful is better than ugly
        ;;qt                ; the 'cutest' gui framework ever
        ;;racket            ; a DSL for DSLs
        ;;raku              ; the artist formerly known as perl6