[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Set eglot to use project config in subdirectory
From: |
Marc |
Subject: |
Set eglot to use project config in subdirectory |
Date: |
Tue, 01 Aug 2023 08:14:49 +0000 |
Hi!
I am working with a typescript project with the following structure:
root/package.json
root/services/service1/package.json
root/services/service2/package.json
Essentially, the git repo is initialized at root and then there are a
bunch of subprojects within the repository with their own project setup.
I noticed that when I edit a file in service1 for eglot, it's using the
package.json (I.e the project config) from the root folder and therefore
complaining about
outdated dependencies and I suspect it might also have something to do
with my emacs freezing when doing file edits.
Is there any way to set so if I'm editing service1, it uses the project
configuration for that service?
I'm using eglot together with projectile if that matters.
Thank you in advance for your help,
Marc
- Set eglot to use project config in subdirectory,
Marc <=