From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marc Newsgroups: gmane.emacs.help Subject: Set eglot to use project config in subdirectory Date: Tue, 01 Aug 2023 08:14:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6424"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 01 17:45:11 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qQrYb-0001RJ-Vo for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 01 Aug 2023 17:45:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQrY9-00017y-3w; Tue, 01 Aug 2023 11:44:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQkX9-00037d-WD for help-gnu-emacs@gnu.org; Tue, 01 Aug 2023 04:15:12 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQkX7-0002fa-NM for help-gnu-emacs@gnu.org; Tue, 01 Aug 2023 04:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1690877704; x=1691136904; bh=o80IOSUQE/OnNj7f8WiZFt+vQVcRswLlKrkt9uEPyCk=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=YdVqxvDBWnTCeo+ksF723814/9Gy/NjFoRRvtWpwb2kK3SyQTvQYbmqzxcoyJnvKd UXHWSHQCuvIVTa3RhlSN3adsIe1uSgpAFB/aHLtzRi/ocMEFWtQo/KZA3D7AevY0nN aYmMj9fTc8AQ0E1Vvg0JTCSpTJd82KdpvUcHWaH3gil1CBlbMPPW0j6ZC8YDIUWIGO ql9FHomf1Ea3o9BVr5SivU4FcEiqcIM3tMUIieM3Cog7If0i3FZvmXdVBjU4+Ur46Y UM7lN4tbilHx+Yms7oWgIRf8ftPa2VXnK3zHDFMj3fH66vn9pW5P7gwesYS292W1ko JIhUH3WcvAa7Q== Feedback-ID: 79185866:user:proton Received-SPF: pass client-ip=185.70.40.133; envelope-from=marcc0000@pm.me; helo=mail-40133.protonmail.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 01 Aug 2023 11:44:38 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144532 Archived-At: Hi! I am working with a typescript project with the following structure: root/package.json root/services/service1/package.json=20 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 co= mplaining 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