aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-06 16:11:38 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-07 08:02:38 -0300
commita86da86d9822e16ffe0e9da7fe21864cd869ddf8 (patch)
tree5d744ba3716192dbd672e78acdb448f8ee333a45 /src/tag.h
parent3005681a02ca0478231329b5deae83a308687b21 (diff)
downloadrneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.gz
rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.bz2
rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.zip
Move some types and consts from structs.h to other headers
- `foldinfo_T` to `fold.h` - `context_sha256_T` to `sha256.h` - `tagname_T` to `tag.h` - `pumitem_T` to `popupmnu.h` - `prt_*_T` to hardcopy.h` - `CPT_*` consts to `edit.h` - `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/tag.h b/src/tag.h
index 9ca8441892..859174ccc3 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -1,6 +1,17 @@
#ifndef NEOVIM_TAG_H
#define NEOVIM_TAG_H
-/* tag.c */
+
+/*
+ * Structure used for get_tagfname().
+ */
+typedef struct {
+ char_u *tn_tags; /* value of 'tags' when starting */
+ char_u *tn_np; /* current position in tn_tags */
+ int tn_did_filefind_init;
+ int tn_hf_idx;
+ void *tn_search_ctx;
+} tagname_T;
+
int do_tag(char_u *tag, int type, int count, int forceit, int verbose);
void tag_freematch(void);
void do_tags(exarg_T *eap);