sway_lsp::handlers::request

Function handle_on_enter

Source
pub async fn handle_on_enter(
    state: &ServerState,
    params: OnEnterParams,
) -> Result<Option<WorkspaceEdit>>
Expand description

This method is triggered when the use hits enter or pastes a newline in the editor.