Add JSON LSP plugin
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user