diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-05-01 13:29:34 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-05-15 13:56:27 +0200 |
commit | edb5864a29ec0d1049c4674afb75c8279301446c (patch) | |
tree | 2ced0985bb7d20d64a42d927323c1e4878f6cdd1 /src/nvim/api/vim.c | |
parent | 7d82ea01025b6981e0233ca9a5e7ee62c8b5bcad (diff) | |
download | rneovim-edb5864a29ec0d1049c4674afb75c8279301446c.tar.gz rneovim-edb5864a29ec0d1049c4674afb75c8279301446c.tar.bz2 rneovim-edb5864a29ec0d1049c4674afb75c8279301446c.zip |
floats: z-index
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index e0eebd079f..e9a0b0df2e 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1417,6 +1417,15 @@ void nvim_chan_send(Integer chan, String data, Error *err) /// - `external`: GUI should display the window as an external /// top-level window. Currently accepts no other positioning /// configuration together with this. +/// - `zindex`: Stacking order. floats with higher `zindex` go on top on +/// floats with lower indices. Must be larger than zero. The +/// following screen elements have hard-coded z-indices: +/// - 100: insert completion popupmenu +/// - 200: message scrollback +/// - 250: cmdline completion popupmenu (when wildoptions+=pum) +/// The default value for floats are 50. In general, values below 100 are +/// recommended, unless there is a good reason to overshadow builtin +/// elements. /// - `style`: Configure the appearance of the window. Currently only takes /// one non-empty value: /// - "minimal" Nvim will display the window with many UI options |