Replies: 1 comment 4 replies
-
This is supported. Your editor just has to send the initialize request with a different path in the WorkspaceFolders (https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize) . Not sure how you can do that, as I didn't test it yet. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, current
$PWD
is/the/path
, there is not/the/path/meson.build
. I try to edit/the/path/subdir/meson.build
, mesonlsp will not work unless I create/the/path/meson.build
:Can we use the following logic:
/the/path/meson.build
exists, use it.user_edit_directory/meson.build
exists, use it.It will be useful a git repo is not a meson projects, however, one or more subdir of it is a meson project, and other subidr store other things.
Beta Was this translation helpful? Give feedback.
All reactions