lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 30 Aug 2016 21:15:46 +0200
From:   Mathieu Maret <mathieu.maret@...il.com>
To:     mmarek@...e.com, mpe@...erman.id.au, akpm@...ux-foundation.org,
        naveen.n.rao@...ux.vnet.ibm.com, vdavydov@...tuozzo.com,
        linux-kernel@...r.kernel.org
Cc:     Mathieu Maret <mathieu.maret@...il.com>
Subject: [PATCH] Enable code completion in VIM

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@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ