Use a different directory than project's root #687
Replies: 4 comments 20 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
@DamienCassou see #689 for the infrastructure that could help you solve your problem by adding a given function to |
Beta Was this translation helpful? Give feedback.
-
I solved this issue using |
Beta Was this translation helpful? Give feedback.
-
Here's a way: (use-package inheritenv
:straight (inheritenv :type git :host github :repo "purcell/inheritenv"))
(use-package envrc
:straight (envrc :type git :host github :repo "purcell/envrc")
:commands (envrc-mode)
:hook ((scala-mode . envrc-mode)))
(use-package project
:init
(setq project-vc-extra-root-markers '(".envrc"))) I have set it up for Scala and |
Beta Was this translation helpful? Give feedback.
-
I have a git repository with a C# web server and a JS web client in 2 separate sub-directories. The LSP servers must be started on the sub-directories and not on the git project's root.
Is there a way to specify another directory than the project's root?
Beta Was this translation helpful? Give feedback.
All reactions