diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-09 15:33:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-09 15:33:31 +0100 |
commit | 4dd8fe0b4f49ec267640fb457672452825b11df0 (patch) | |
tree | 1c25bc51db2251b5df692baf450ebab4dca74aea /src/proto/popupwin.pro | |
parent | 34059e7b67ae8a58dc2471b309afe05d9dde760f (diff) |
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()v8.1.2273
Problem: Wrong default when "pos" is changed with popup_atcursor().
Solution: Adjust the default line and col when "pos" is not the default
value. (#5151)
Diffstat (limited to 'src/proto/popupwin.pro')
-rw-r--r-- | src/proto/popupwin.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index 4ec4a748de..bc4315a812 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -12,7 +12,7 @@ int popup_width(win_T *wp); int popup_extra_width(win_T *wp); int parse_previewpopup(win_T *wp); int parse_completepopup(win_T *wp); -void popup_set_wantpos_cursor(win_T *wp, int width); +void popup_set_wantpos_cursor(win_T *wp, int width, dict_T *d); void popup_set_wantpos_rowcol(win_T *wp, int row, int col); void f_popup_clear(typval_T *argvars, typval_T *rettv); void f_popup_create(typval_T *argvars, typval_T *rettv); |