onivim/oni

Prompt before closing modified buffers

Open

#264 opened on 2017年3月1日

GitHub で見る
 (13 comments) (0 reactions) (0 assignees)TypeScript (336 forks)batch import
bountybounty-25enhancementhelp wantedinsiderneovim-core

Repository metrics

Stars
 (11,389 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド