nvim_api/types/paste_phase.rs
1#[non_exhaustive]
2#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
3pub enum PastePhase {
4 /// Paste in a single call (i.e. without streaming).
5 SingleCall = -1,
6
7 /// Starts the paste. If calling [`paste`](crate::paste) sequentially only
8 /// the first call should have this value as `phase`.
9 StartPaste = 1,
10
11 /// Continues the paste.
12 ContinuePasting = 2,
13
14 /// Ends the paste. If calling [`paste`](crate::paste) sequentially only
15 /// the last call should have this value as `phase`.
16 EndPaste = 3,
17}