Mercurial > vim
comparison src/textprop.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 | e2d9f4d030fa |
children | e47b04b01793 |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
26 * properties? | 26 * properties? |
27 */ | 27 */ |
28 | 28 |
29 #include "vim.h" | 29 #include "vim.h" |
30 | 30 |
31 #if defined(FEAT_TEXT_PROP) || defined(PROTO) | 31 #if defined(FEAT_PROP_POPUP) || defined(PROTO) |
32 | 32 |
33 /* | 33 /* |
34 * In a hashtable item "hi_key" points to "pt_name" in a proptype_T. | 34 * In a hashtable item "hi_key" points to "pt_name" in a proptype_T. |
35 * This avoids adding a pointer to the hashtable item. | 35 * This avoids adding a pointer to the hashtable item. |
36 * PT2HIKEY() converts a proptype pointer to a hashitem key pointer. | 36 * PT2HIKEY() converts a proptype pointer to a hashitem key pointer. |
1307 vim_free(newp); | 1307 vim_free(newp); |
1308 vim_free(prop_lines); | 1308 vim_free(prop_lines); |
1309 vim_free(prop_lengths); | 1309 vim_free(prop_lengths); |
1310 } | 1310 } |
1311 | 1311 |
1312 #endif // FEAT_TEXT_PROP | 1312 #endif // FEAT_PROP_POPUP |