View Source GenLSP.Enumerations.TextDocumentSaveReason (gen_lsp v0.9.0)

Represents reasons why a text document is saved.

Link to this section Summary

Functions

Automatic after a delay.

When the editor lost focus.

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

Link to this section Types

@type t() :: 1 | 2 | 3

Link to this section Functions

@spec after_delay() :: 2

Automatic after a delay.

@spec focus_out() :: 3

When the editor lost focus.

@spec manual() :: 1

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.