insert space after ->
This commit is contained in:
@@ -38,7 +38,7 @@ pub fn server_capabilities() -> ServerCapabilities {
|
||||
document_range_formatting_provider: None,
|
||||
document_on_type_formatting_provider: Some(DocumentOnTypeFormattingOptions {
|
||||
first_trigger_character: "=".to_string(),
|
||||
more_trigger_character: Some(vec![".".to_string()]),
|
||||
more_trigger_character: Some(vec![".".to_string(), ">".to_string()]),
|
||||
}),
|
||||
selection_range_provider: Some(GenericCapability::default()),
|
||||
folding_range_provider: Some(FoldingRangeProviderCapability::Simple(true)),
|
||||
|
||||
@@ -132,6 +132,7 @@ pub fn handle_on_enter(
|
||||
}
|
||||
}
|
||||
|
||||
// Don't forget to add new trigger characters to `ServerCapabilities` in `caps.rs`.
|
||||
pub fn handle_on_type_formatting(
|
||||
world: WorldSnapshot,
|
||||
params: req::DocumentOnTypeFormattingParams,
|
||||
|
||||
Reference in New Issue
Block a user