aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index d9684db3bc..3b8b171bd4 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -27,6 +27,8 @@
// for String
#include "nvim/api/private/defs.h"
+#define MODIFIABLE(buf) (buf->b_p_ma)
+
/*
* Flags for w_valid.
* These are set when something in a window structure becomes invalid, except