onivim/oni

Prompt before closing modified buffers

Aberta

#264 aberto em 1 de mar. de 2017

 (13 comentários) (0 reação) (0 responsável)TypeScript (297 forks)batch import
bountybounty-25enhancementhelp wantedinsiderneovim-core

Métricas do repositório

Stars
 (11.246 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

When closing a buffer from the menu (Quit, Close, Split -> Close, Close Other Split(s)) Oni needs to prompt to save if the buffer is modified. For some operations (Close, Split -> Close) we just need to check if the current buffer is dirty but for other operations (Quit, Close Other Split(s)) we need to see if any buffer is dirty.

Guia do colaborador