Mercurial > vim
diff src/vim.h @ 17429:6e756ad5ef1a v8.1.1713
patch 8.1.1713: highlighting cursor line only works with popup_menu()
commit https://github.com/vim/vim/commit/df9c6cad8cc318e26e99c3b055f0788e7d6582de
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 18 13:46:42 2019 +0200
patch 8.1.1713: highlighting cursor line only works with popup_menu()
Problem: Highlighting cursor line only works with popup_menu().
Solution: Add the "cursorline" property. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/4671)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 18 Jul 2019 14:00:08 +0200 |
parents | 09fa437d33d8 |
children | 8cca2654d459 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -617,6 +617,7 @@ extern int (*dyn_libintl_wputenv)(const #define POPF_IS_POPUP 1 // this is a popup window #define POPF_HIDDEN 2 // popup is not displayed #define POPF_HANDLED 4 // popup was just redrawn or filtered +#define POPF_CURSORLINE 8 // popup is highlighting at the cursorline #ifdef FEAT_TEXT_PROP # define WIN_IS_POPUP(wp) ((wp)->w_popup_flags != 0) #else