]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/tags.sh: enable code completion in VIM
authorMathieu Maret <mathieu.maret@gmail.com>
Tue, 11 Oct 2016 20:55:14 +0000 (13:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:33 +0000 (15:06 -0700)
commit459fbec6e9765982f3026f2e6a06b91ebe2b5383
treed5746f2eeab04972c28817bb3b01a8eed4c9724a
parent6e7d5ea60aa4f538ac8df7300a01fe1fef396fc6
scripts/tags.sh: 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

Link: http://lkml.kernel.org/r/20160830191546.4469-1-mathieu.maret@gmail.com
Signed-off-by: Mathieu Maret <mathieu.maret@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/tags.sh