I use taglist() to get a tag list. Then I did some filter, just leave
some useful one like this:
let tttlist = taglist("^List$")
let newtttlist = []
for item in tttlist
if item['kind'] == 'i' || item['kind'] == 'c'
call add(newtttlist, item)
endif
endfor
echo newtttlist
But how to show them like :tag and :ptag in vim?
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Tuesday, May 29, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment