View Source GenLSP.Structures.DocumentOnTypeFormattingOptions (gen_lsp v0.8.1)

Provider options for a {@link DocumentOnTypeFormattingRequest}.

Link to this section Summary

Functions

Fields

  • first_trigger_character: A character on which formatting should be triggered, like {.
  • more_trigger_character: More trigger characters.

Link to this section Types

@type t() :: %GenLSP.Structures.DocumentOnTypeFormattingOptions{
  first_trigger_character: String.t(),
  more_trigger_character: [String.t()] | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.DocumentOnTypeFormattingOptions{}

View Source (struct)

fields

Fields

  • first_trigger_character: A character on which formatting should be triggered, like {.
  • more_trigger_character: More trigger characters.