aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds_defs.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-25 19:42:55 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-26 10:21:39 -0400
commit33eb5833b2baefce3797f4544bc1567d0c23c9e7 (patch)
treea3a2d93276ec480f10d14d1a7cd1057c4cbda93b /src/nvim/ex_cmds_defs.h
parentbfe029a11deaa923980400bcfc3e043136474759 (diff)
downloadrneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.tar.gz
rneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.tar.bz2
rneovim-33eb5833b2baefce3797f4544bc1567d0c23c9e7.zip
vim-patch:8.0.0688: cannot resize the window in a FileType autocommand
Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, closes vim/vim#1804) https://github.com/vim/vim/commit/9c4fefffb65a2ed9b4a5b0f1bde0da8f349470b5
Diffstat (limited to 'src/nvim/ex_cmds_defs.h')
-rw-r--r--src/nvim/ex_cmds_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h
index d72b83404e..6c36922c09 100644
--- a/src/nvim/ex_cmds_defs.h
+++ b/src/nvim/ex_cmds_defs.h
@@ -59,7 +59,9 @@
#define BUFUNL 0x20000 /* accepts unlisted buffer too */
#define ARGOPT 0x40000 /* allow "++opt=val" argument */
#define SBOXOK 0x80000 /* allowed in the sandbox */
-#define CMDWIN 0x100000 /* allowed in cmdline window */
+#define CMDWIN 0x100000 /* allowed in cmdline window; when missing
+ * disallows editing another buffer when
+ * curbuf_lock is set */
#define MODIFY 0x200000 /* forbidden in non-'modifiable' buffer */
#define EXFLAGS 0x400000 /* allow flags after count in argument */
#define FILES (XFILE | EXTRA) /* multiple extra files allowed */