onivim/oni

Prompt before closing modified buffers

Ouverte

#264 ouverte le 1 mars 2017

 (13 commentaires) (0 réaction) (0 personne assignée)TypeScript (297 forks)batch import
bountybounty-25enhancementhelp wantedinsiderneovim-core

Métriques du dépôt

Stars
 (11 246 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur