[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] maint: Make ctags work out of the box



The .ctags file specifies default options for ctags so that it does not
ignore libvirt.h.in and ignores uninteresting files. As a result, you
can just run "ctags" and navigating to a public API won't get you to a
useless entry in api.html.
---
 .ctags | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 .ctags

diff --git a/.ctags b/.ctags
new file mode 100644
index 0000000..75e9753
--- /dev/null
+++ b/.ctags
@@ -0,0 +1,5 @@
+--recurse
+--exclude=*.orig
+--exclude=*.html
+--exclude=*.html.in
+--langmap=c:+.h.in
-- 
1.8.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]