aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-10-22 20:27:35 -0700
committerGitHub <noreply@github.com>2019-10-22 20:27:35 -0700
commit9e4db2ef508b02583c7f30d12c045ccc07328f16 (patch)
tree1f239179a6cf53520290949ae9ac30be537b133c /src/nvim/buffer_defs.h
parent02393a0c74d3aaeece939bafa4f658763acca965 (diff)
parent3b6b528ea98ca7bf8cd5ae1cf103203e3ca67814 (diff)
downloadrneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.tar.gz
rneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.tar.bz2
rneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.zip
Merge #11199 from bobrippling/vim-8.1.1228
vim-patch:8.1.{1099,1228,1962} add 'tagfunc'
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 16c7804be0..ca740dea21 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -119,10 +119,11 @@ typedef uint16_t disptick_T; // display tick type
* The taggy struct is used to store the information about a :tag command.
*/
typedef struct taggy {
- char_u *tagname; /* tag name */
- fmark_T fmark; /* cursor position BEFORE ":tag" */
- int cur_match; /* match number */
- int cur_fnum; /* buffer number used for cur_match */
+ char_u *tagname; // tag name
+ fmark_T fmark; // cursor position BEFORE ":tag"
+ int cur_match; // match number
+ int cur_fnum; // buffer number used for cur_match
+ char_u *user_data; // used with tagfunc
} taggy_T;
typedef struct buffblock buffblock_T;
@@ -647,6 +648,7 @@ struct file_buffer {
char_u *b_p_cpt; ///< 'complete'
char_u *b_p_cfu; ///< 'completefunc'
char_u *b_p_ofu; ///< 'omnifunc'
+ char_u *b_p_tfu; ///< 'tagfunc'
int b_p_eol; ///< 'endofline'
int b_p_fixeol; ///< 'fixendofline'
int b_p_et; ///< 'expandtab'