Mercurial > vim
comparison src/evalbuffer.c @ 18763:49b78d6465e5 v8.1.2371
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Commit: https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:48:27 2019 +0100
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/5291)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 23:00:05 +0100 |
parents | 18d7337b6837 |
children | 3a68dc2a1bc1 |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
563 if (wp->w_buffer == buf) | 563 if (wp->w_buffer == buf) |
564 list_append_number(windows, (varnumber_T)wp->w_id); | 564 list_append_number(windows, (varnumber_T)wp->w_id); |
565 dict_add_list(dict, "windows", windows); | 565 dict_add_list(dict, "windows", windows); |
566 } | 566 } |
567 | 567 |
568 #ifdef FEAT_TEXT_PROP | 568 #ifdef FEAT_PROP_POPUP |
569 // List of popup windows displaying this buffer | 569 // List of popup windows displaying this buffer |
570 windows = list_alloc(); | 570 windows = list_alloc(); |
571 if (windows != NULL) | 571 if (windows != NULL) |
572 { | 572 { |
573 for (wp = first_popupwin; wp != NULL; wp = wp->w_next) | 573 for (wp = first_popupwin; wp != NULL; wp = wp->w_next) |