diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-09-05 12:50:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 12:50:38 +0200 |
commit | 79ea47d47836154cfb5a9574faa5c2af8422486a (patch) | |
tree | e3498beaa706b1424e71d142d1d01b809056f59b /src/nvim/api/vim.c | |
parent | 632ee8d2ed6e307cc4d9ca2cf9e3ba0531a8af51 (diff) | |
parent | d5162afa2aee6609bf5d4f818639235b70c57a9a (diff) | |
download | rneovim-79ea47d47836154cfb5a9574faa5c2af8422486a.tar.gz rneovim-79ea47d47836154cfb5a9574faa5c2af8422486a.tar.bz2 rneovim-79ea47d47836154cfb5a9574faa5c2af8422486a.zip |
Merge pull request #10451 from bfredl/floatbuf
anchor float to buffer position
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 2034fea770..27344fc093 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1059,6 +1059,12 @@ fail: /// - "SE" south-east /// - `height`: window height (in character cells). Minimum of 1. /// - `width`: window width (in character cells). Minimum of 1. +/// - 'bufpos': position float relative text inside the window `win` (only +/// when relative="win"). Takes a tuple of [line, column] where +/// both are zero-index. Note: `row` and `col` if present, still +/// applies relative this positio. By default `row=1` and `col=0` +/// is used (with default NW anchor), to make the float +/// behave like a tooltip under the buffer text. /// - `row`: row position. Screen cell height are used as unit. Can be /// floating point. /// - `col`: column position. Screen cell width is used as unit. Can be |