diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-12 02:25:17 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-15 20:46:01 +0200 |
commit | da51dc9cf202772f60bd2da975dbef257bd9237c (patch) | |
tree | 5c16b93238a153f55634e9323077f30c8133970c /src/nvim/tag.h | |
parent | ffe61e5ba1721340ca51d56bae3ddaca415fb5bc (diff) | |
download | rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.gz rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.bz2 rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.zip |
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/.
- src/nvim/ becomes the new root dir for nvim executable sources.
- src/libnvim/ is planned to become root dir of the neovim library.
Diffstat (limited to 'src/nvim/tag.h')
-rw-r--r-- | src/nvim/tag.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/nvim/tag.h b/src/nvim/tag.h new file mode 100644 index 0000000000..a5e1b4d491 --- /dev/null +++ b/src/nvim/tag.h @@ -0,0 +1,28 @@ +#ifndef NEOVIM_TAG_H +#define NEOVIM_TAG_H + +/* + * 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); +int find_tags(char_u *pat, int *num_matches, char_u ***matchesp, + int flags, int mincount, + char_u *buf_ffname); +void free_tag_stuff(void); +int get_tagfname(tagname_T *tnp, int first, char_u *buf); +void tagname_free(tagname_T *tnp); +int expand_tags(int tagnames, char_u *pat, int *num_file, + char_u ***file); +int get_tags(list_T *list, char_u *pat); + +#endif /* NEOVIM_TAG_H */ |