[libvirt] [PATCH] ctags: Generate tags for headers, i.e. function prototypes
Michal Privoznik
mprivozn at redhat.com
Tue Sep 18 13:24:13 UTC 2018
On 09/18/2018 02:24 PM, Erik Skultety wrote:
>>From time to time it's handy to jump directly to a function prototype in
> a header. However, generating tags for headers is disabled by default in
> ctags, let's enable it by using --c-kinds=+p.
>
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
> .ctags | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.ctags b/.ctags
> index 75e9753182..a4f17b589d 100644
> --- a/.ctags
> +++ b/.ctags
> @@ -3,3 +3,4 @@
> --exclude=*.html
> --exclude=*.html.in
> --langmap=c:+.h.in
> +--c-kinds=+p
>
ACK, although I might post a patch to add some more fields later.
Michal
More information about the libvir-list
mailing list