Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
90 lines
2.1 KiB
Markdown
90 lines
2.1 KiB
Markdown
# Popup tracking
|
|
|
|
[WIP] An implementation of the Popup API from vim in Neovim. Hope to upstream
|
|
when complete
|
|
|
|
## Goals
|
|
|
|
Provide an API that is compatible with the vim `popup_*` APIs. After
|
|
stablization and any required features are merged into Neovim, we can upstream
|
|
this and expose the API in vimL to create better compatibility.
|
|
|
|
## Notices
|
|
- **2021-09-19:** we now follow Vim's convention of the first line/column of the screen being indexed 1, so that 0 can be used for centering.
|
|
- **2021-08-19:** we now follow Vim's default to `noautocmd` on popup creation. This can be overriden with `vim_options.noautocmd=false`
|
|
|
|
## List of Neovim Features Required:
|
|
|
|
- [ ] Key handlers (used for `popup_filter`)
|
|
- [ ] scrollbar for floating windows
|
|
- [ ] scrollbar
|
|
- [ ] scrollbarhighlight
|
|
- [ ] thumbhighlight
|
|
|
|
Optional:
|
|
|
|
- [ ] Add forced transparency to a floating window.
|
|
- Apparently overrides text?
|
|
- This is for the `mask` feature flag
|
|
|
|
|
|
Unlikely (due to technical difficulties):
|
|
|
|
- [ ] Add `textprop` wrappers?
|
|
- textprop
|
|
- textpropwin
|
|
- textpropid
|
|
- [ ] "close"
|
|
- But this is mostly because I don't know how to use mouse APIs in nvim. If someone knows. please make an issue in the repo, and maybe we can get it sorted out.
|
|
|
|
Unlikely (due to not sure if people are using):
|
|
- [ ] tabpage
|
|
|
|
## Progress
|
|
|
|
Suported Features:
|
|
|
|
- [x] what
|
|
- string
|
|
- list of strings
|
|
- [x] popup_create-arguments
|
|
- [x] border
|
|
- [x] borderchars
|
|
- [x] col
|
|
- [x] cursorline
|
|
- [x] highlight
|
|
- [x] line
|
|
- [x] {max,min}{height,width}
|
|
- [?] moved
|
|
- [x] "any"
|
|
- [ ] "word"
|
|
- [ ] "WORD"
|
|
- [ ] "expr"
|
|
- [ ] (list options)
|
|
- [x] padding
|
|
- [?] pos
|
|
- Somewhat implemented. Doesn't work with borders though.
|
|
- [x] posinvert
|
|
- [x] time
|
|
- [x] title
|
|
- [x] wrap
|
|
- [x] zindex
|
|
|
|
## All known unimplemented vim features at the moment
|
|
|
|
- firstline
|
|
- hidden
|
|
- ~ pos
|
|
- fixed
|
|
- filter
|
|
- filtermode
|
|
- mapping
|
|
- callback
|
|
- mouse:
|
|
- mousemoved
|
|
- close
|
|
- drag
|
|
- resize
|
|
|
|
- (not implemented in vim yet) flip
|