Eglot different project marker for purescript
This commit is contained in:
parent
c550530e4d
commit
617d51b4a0
1 changed files with 3 additions and 2 deletions
5
init.el
5
init.el
|
@ -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))
|
||||||
|
|
Reference in a new issue