aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-20 20:17:10 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-20 20:27:12 -0500
commit2a5307202b02d47e26c4430a47db7a4cad422862 (patch)
treec234b85b22930f1b94c09cbefcff29c884e45d35 /src/nvim/buffer_defs.h
parent172d5b65616b37b84ba71dd421d8a1314bd53288 (diff)
downloadrneovim-2a5307202b02d47e26c4430a47db7a4cad422862.tar.gz
rneovim-2a5307202b02d47e26c4430a47db7a4cad422862.tar.bz2
rneovim-2a5307202b02d47e26c4430a47db7a4cad422862.zip
menu: remove winbar code
No unmerged Vim patch, applicable to Neovim, depend on WinBar feature. It was merged only for merging Vim patches. It is currently useless in Neovim. Remove it to avoid rendering issues. Close https://github.com/neovim/neovim/issues/12689
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 93fe37b585..dba02a67e8 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -1132,12 +1132,6 @@ struct VimMenu {
vimmenu_T *next; ///< Next item in menu
};
-typedef struct {
- int wb_startcol;
- int wb_endcol;
- vimmenu_T *wb_menu;
-} winbar_item_T;
-
/// Structure which contains all information that belongs to a window.
///
/// All row numbers are relative to the start of the window, except w_winrow.
@@ -1354,10 +1348,6 @@ struct window_S {
char_u *w_localdir; /* absolute path of local directory or
NULL */
- vimmenu_T *w_winbar; // The root of the WinBar menu hierarchy.
- winbar_item_T *w_winbar_items; // list of items in the WinBar
- int w_winbar_height; // 1 if there is a window toolbar
-
// Options local to a window.
// They are local because they influence the layout of the window or
// depend on the window layout.