Add JSON LSP plugin
This commit is contained in:
parent
923f093aca
commit
71e0555763
6 changed files with 98 additions and 36 deletions
|
@ -6,7 +6,7 @@ use std::path::PathBuf;
|
|||
|
||||
// #[import]
|
||||
fn command(string: &str) -> Option<String> {
|
||||
todo!()
|
||||
None
|
||||
}
|
||||
|
||||
// TODO: some sort of macro to generate ABI bindings
|
||||
|
@ -113,6 +113,11 @@ pub fn cached_server_binary(container_dir: PathBuf) -> Option<PathBuf> {
|
|||
}
|
||||
}
|
||||
|
||||
#[bind]
|
||||
pub fn label_for_completion(label: String) -> Option<String> {
|
||||
None
|
||||
}
|
||||
|
||||
#[bind]
|
||||
pub fn initialization_options() -> Option<String> {
|
||||
Some("{ \"provideFormatter\": true }".to_string())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue