[libvirt] [PATCH] ctags: Generate tags for headers, i.e. function prototypes

Erik Skultety eskultet at redhat.com
Tue Sep 18 12:24:52 UTC 2018


>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
-- 
2.17.1




More information about the libvir-list mailing list