mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-09 20:06:26 +00:00
fix: Add workspace capabilities to prevent method not found errors
This commit is contained in:
parent
83fe076f05
commit
b7b4e1083d
1 changed files with 7 additions and 0 deletions
|
@ -96,6 +96,13 @@ impl LanguageServer for DjangoLanguageServer {
|
|||
work_done_progress: Some(true),
|
||||
},
|
||||
})),
|
||||
workspace: Some(WorkspaceServerCapabilities {
|
||||
workspace_folders: Some(WorkspaceFoldersServerCapabilities {
|
||||
supported: Some(true),
|
||||
change_notifications: Some(OneOf::Left(true)),
|
||||
}),
|
||||
..Default::default()
|
||||
}),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue