Skip to content

egolt start lsp with only specific module from a repo -- project.el question #1336

Closed Answered by joaotavora
saladmaker asked this question in Q&A
Discussion options

You must be logged in to vote

I'm having a hard time understanding your request, but it sounds familiar. You have two options:

  1. You tell your Emacs session as a whoel that the root of the project is not the root of the repo. -- for that particular project. That affects everything project related, not just Eglot.

  2. You tell Eglot that the project it should consider as the root of the LSP project is not what project.el by defaults tells it.

As far as I know, you can do both things with project.el 's interfaces. Maybe there's an easy way to do the first. Ask the project.el manager @dgutov .

For the second option, you have to use Elisp, adding a member function to project-find-functions, the documentation of which you …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cowboyd
Comment options

@joaotavora
Comment options

@joaotavora
Comment options

Answer selected by saladmaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants