]> xenbits.xensource.com Git - libvirt.git/commitdiff
ctags: Generate tags for headers, i.e. function prototypes
authorErik Skultety <eskultet@redhat.com>
Tue, 18 Sep 2018 12:21:33 +0000 (14:21 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 18 Sep 2018 12:21:33 +0000 (14:21 +0200)
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@redhat.com>
.ctags

diff --git a/.ctags b/.ctags
index 75e97531824f3d79bd49faf330e41a190091319b..a4f17b589db52dddbf3407e983f50db23eec5bf7 100644 (file)
--- a/.ctags
+++ b/.ctags
@@ -3,3 +3,4 @@
 --exclude=*.html
 --exclude=*.html.in
 --langmap=c:+.h.in
+--c-kinds=+p