Restart language server using original root path rather than the path of the buffer restarted from

This commit is contained in:
Keith Simmons 2022-06-30 19:11:21 -07:00
parent 832cc3dd19
commit ebe733a393
2 changed files with 47 additions and 9 deletions

View file

@ -493,6 +493,10 @@ impl LanguageServer {
self.server_id
}
pub fn root_path(&self) -> &PathBuf {
&self.root_path
}
pub fn request<T: request::Request>(
&self,
params: T::Params,