@@ -90,9 +90,8 @@ Magit's default uses magit-read-string-ns which rejects whitespace."
9090 (magit-status full-path)
9191 ; ; user-error aborts the clone after opening magit-status
9292 (user-error " Repository already cloned at %s, opened magit-status" full-path))
93- (list repo
94- (read-directory-name " Clone to: " default-dir nil nil repo-name)
95- (transient-args 'magit-clone )))))
93+ (magit-clone-internal repo full-path nil )
94+ (user-error " Cloning %s to %s" repo full-path))))
9695
9796; ; :override intentionally replaces the original — adds existing-repo detection.
9897(advice-add 'magit-clone-read-args :override #'johnny5-magit-clone-maybe-status )
@@ -143,8 +142,6 @@ Return nil if test execution fails."
143142(use-package string-inflection)
144143; ;; powerthesaurus
145144(use-package powerthesaurus)
146- ; ;; nix-mode
147- (use-package nix-mode)
148145; ;; markdown-mode
149146(use-package markdown-mode)
150147; ;; json-mode
@@ -548,17 +545,16 @@ After downloading, restart eglot in affected buffers to pick up changes."
548545 (setq-default eglot-workspace-configuration
549546 `(:yaml (:schemaStore (:enable t )
550547 :validate t )))))
551- ; ; (with-eval-after-load 'eglot
552- ; ; (add-to-list 'eglot-server-programs
553- ; ; `((elixir-ts-mode heex-ts-mode elixir-mode) .
554- ; ; ("nextls" "--stdio=true" :initializationOptions (:experimental (:completions (:enable t) ))))))
548+ (with-eval-after-load 'eglot
549+ (add-to-list 'eglot-server-programs `((elixir-mode elixir-ts-mode heex-ts-mode) . ,(eglot-alternatives
550+ '(( " expert " " --stdio " )
551+ ( " elixir-ls " ))))))
555552 :hook ((elixir-mode . eglot-ensure)
556553 (elixir-ts-mode . eglot-ensure)
557554 (heex-ts-mode . eglot-ensure)
558555 (json-ts-mode . eglot-ensure)
559556 (python-mode . eglot-ensure)
560557 (python-ts-mode . eglot-ensure)
561- (nix-mode . eglot-ensure)
562558 (terraform-mode . eglot-ensure)
563559 (toml-ts-mode . eglot-ensure)
564560 (typescript-ts-mode . eglot-ensure)
0 commit comments