osx - Generating ctags for libc in mac -


i'm trying use tags of libc library on mac (mountain lion) through vim. i've generated tags *.c files in /usr/include (ctags -r /usr/include/*.h). i've set tags include generated tags file (set tags+=tags). but, if try go tag on function fseek() "no tags found". how can solve this?

edit:

i've tried doing ctags /usr/lib/libc.dylib, , results in error saying file not sorted. :(

use line generate usable tags file:

ctags -r --c++-kinds=+p --fields=+ias --extra=+q /usr/include 

once it's done, :tag fseek should work, <c-]> on fseek call.

be sure read :h tags , :h ctags carefully.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -