diff options
author | Dongdong Zhou <dzhou121@gmail.com> | 2017-02-24 09:35:27 +0000 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-26 02:15:31 +0200 |
commit | 88023d51238698dd625c26300142d3dbe5770b73 (patch) | |
tree | 3a3876cc8525a8ca7147bf273698886759d292be /src/nvim/ui.h | |
parent | 7e571bca5d5e00e9e33e266b983a48bb4014183f (diff) | |
download | rneovim-88023d51238698dd625c26300142d3dbe5770b73.tar.gz rneovim-88023d51238698dd625c26300142d3dbe5770b73.tar.bz2 rneovim-88023d51238698dd625c26300142d3dbe5770b73.zip |
api/ui: externalize tabline
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index fcf52ac9e1..a1ff449eaf 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -8,6 +8,13 @@ #include "api/private/defs.h" #include "nvim/buffer_defs.h" +// values for externalized widgets +typedef enum { + kUITabline, + kUICmdline, + kUIWildmenu +} UIWidget; + typedef struct { bool bold, underline, undercurl, italic, reverse; int foreground, background, special; @@ -16,7 +23,7 @@ typedef struct { typedef struct ui_t UI; struct ui_t { - bool rgb, pum_external; + bool rgb, pum_external, tabline_external; int width, height; void *data; void (*resize)(UI *ui, int rows, int columns); |