Restart language server using original root path rather than the path of the buffer restarted from
This commit is contained in:
parent
832cc3dd19
commit
ebe733a393
2 changed files with 47 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue