aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-11 21:20:32 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-13 20:46:00 -0400
commitf54a938271a4006a05638956a46e0bbe114eedf7 (patch)
tree1fbcf0320d046fc4622ac2fe8e407e6f34c65d70 /src/nvim/globals.h
parent73392909006de74e628323cde915b107244a247b (diff)
downloadrneovim-f54a938271a4006a05638956a46e0bbe114eedf7.tar.gz
rneovim-f54a938271a4006a05638956a46e0bbe114eedf7.tar.bz2
rneovim-f54a938271a4006a05638956a46e0bbe114eedf7.zip
vim-patch:8.2.1059: crash when using :tabonly in an autocommand
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed. https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec E813 error message does not mention 'popup' window because Neovim floating window are regular windows, unlike Vim popups. https://github.com/neovim/neovim/pull/14532#discussion_r631731829
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index 624b7c93f3..0ce2b586e3 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -987,6 +987,8 @@ EXTERN char_u e_dirnotf[] INIT(= N_(
"E919: Directory not found in '%s': \"%s\""));
EXTERN char_u e_au_recursive[] INIT(= N_(
"E952: Autocommand caused recursive behavior"));
+EXTERN char_u e_autocmd_close[] INIT(= N_(
+ "E813: Cannot close autocmd window"));
EXTERN char_u e_unsupportedoption[] INIT(= N_("E519: Option not supported"));
EXTERN char_u e_fnametoolong[] INIT(= N_("E856: Filename too long"));
EXTERN char_u e_float_as_string[] INIT(= N_("E806: using Float as a String"));