summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 18:05:35 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 18:05:35 +0200
commit45e18cbdc40afd8144d20dcc07ad2d981636f4c9 (patch)
tree11762469ca5d6c4bd49ca50381160afd30dcb2f3 /src/globals.h
parent7a9df9dd00bac462a2942dc798e298f365779fd0 (diff)
patch 8.1.1228: not possible to process tags with a functionv8.1.1228
Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index e3a2c3b1af..5c5d8d2d32 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1067,9 +1067,13 @@ EXTERN int postponed_split INIT(= 0); /* for CTRL-W CTRL-] command */
EXTERN int postponed_split_flags INIT(= 0); /* args for win_split() */
EXTERN int postponed_split_tab INIT(= 0); /* cmdmod.tab */
#ifdef FEAT_QUICKFIX
-EXTERN int g_do_tagpreview INIT(= 0); /* for tag preview commands:
- height of preview window */
+EXTERN int g_do_tagpreview INIT(= 0); // for tag preview commands:
+ // height of preview window
#endif
+EXTERN int g_tag_at_cursor INIT(= FALSE); // whether the tag command comes
+ // from the command line (0) or was
+ // invoked as a normal command (1)
+
EXTERN int replace_offset INIT(= 0); /* offset for replace_push() */
EXTERN char_u *escape_chars INIT(= (char_u *)" \t\\\"|");