* [PATCH] Enable code completion in VIM
@ 2016-08-30 19:15 Mathieu Maret
0 siblings, 0 replies; only message in thread
From: Mathieu Maret @ 2016-08-30 19:15 UTC (permalink / raw)
To: mmarek, mpe, akpm, naveen.n.rao, vdavydov, linux-kernel; +Cc: Mathieu Maret
Vim, with the omnicppcomplete(#1) plugin,
can do code completion using information build by ctags.
Add flags needed by omnicppcomplete(#2) to have completion on member
of structure.
1: https://github.com/vim-scripts/omnicppcomplete
2: https://github.com/vim-scripts/OmniCppComplete/blob/master/doc/omnicppcomplete.txt#L93
Signed-off-by: Mathieu Maret <mathieu.maret@gmail.com>
---
scripts/tags.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index ed7eef2..e37af37 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -264,7 +264,8 @@ exuberant()
-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL,ACPI_EXPORT_SYMBOL \
-I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL \
-I static,const \
- --extra=+f --c-kinds=+px --langmap=c:+.h "${regex[@]}"
+ --extra=+fq --c-kinds=+px --fields=+iaS --langmap=c:+.h \
+ "${regex[@]}"
setup_regex exuberant kconfig
all_kconfigs | xargs $1 -a \
--
2.9.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-30 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 19:15 [PATCH] Enable code completion in VIM Mathieu Maret
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox