onivim/oni

Prompt before closing modified buffers

Open

#264 创建于 2017年3月1日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)TypeScript (11,389 star) (336 fork)batch import
bountybounty-25enhancementhelp wantedinsiderneovim-core

描述

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.

贡献者指南