mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
feat(options): per-buffer 'busy' status #34493
Problem: Plugins cannot mark a buffer as "busy". Solution: - Add a buffer-local 'busy' option. - Show a busy indicator in the default 'statusline'.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "nvim/option_defs.h"
|
||||
#include "nvim/os/fs_defs.h"
|
||||
#include "nvim/statusline_defs.h"
|
||||
#include "nvim/types_defs.h"
|
||||
#include "nvim/undo_defs.h"
|
||||
|
||||
/// Reference to a buffer that stores the value of buf_free_count.
|
||||
@@ -522,6 +523,7 @@ struct file_buffer {
|
||||
int b_p_bomb; ///< 'bomb'
|
||||
char *b_p_bh; ///< 'bufhidden'
|
||||
char *b_p_bt; ///< 'buftype'
|
||||
OptInt b_p_busy; ///< 'busy'
|
||||
int b_has_qf_entry; ///< quickfix exists for buffer
|
||||
int b_p_bl; ///< 'buflisted'
|
||||
OptInt b_p_channel; ///< 'channel'
|
||||
|
Reference in New Issue
Block a user