Eglot different project marker for purescript

This commit is contained in:
Andrea Ciceri 2023-10-14 00:52:37 +02:00
parent c550530e4d
commit 617d51b4a0
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -492,7 +492,8 @@
(use-package purescript-mode (use-package purescript-mode
:custom ((project-vc-extra-root-markers '("spago.dhall"))) :custom ((project-vc-extra-root-markers '("spago.dhall")))
:hook ((purescript-mode . eglot-ensure) :hook ((purescript-mode . eglot-ensure)
(purescript-mode . turn-on-purescript-indentation))) (purescript-mode . turn-on-purescript-indentation)
(purescript-mode . (lambda () (setq project-vc-extra-root-markers '("spago.dhall"))))))
(use-package terraform-mode (use-package terraform-mode
:after eglot :after eglot
@ -629,7 +630,7 @@
(prompt (if otp "Password: " "OTP: ")) (prompt (if otp "Password: " "OTP: "))
(selected (completing-read prompt entries))) (selected (completing-read prompt entries)))
(apply fun `(,selected)))) (apply fun `(,selected))))
(add-to-list 'eshell-modules-list 'eshell-tramp) ;; to use sudo in eshell (add-to-list 'eshell-modules-list 'eshell-tramp) ;; to use sudo in eshell
;; :hook ((eshell-load . eat-eshell-mode) ;; :hook ((eshell-load . eat-eshell-mode)
;; (eshell-load . eat-eshell-visual-command-mode)) ;; (eshell-load . eat-eshell-visual-command-mode))