taglist() を使用してタグリストを取得します。次に、いくつかのフィルターを実行しました。次のような便利なものを残してください。
let tttlist = taglist("^List$")
"echo ttt
let newtttlist = []
for item in tttlist
if item['kind'] == 'i' || item['kind'] == 'c'
call add(newtttlist, item)
endif
endfor
echo newtttlist
しかし、vim で :tag や :ptag のように表示するにはどうすればよいでしょうか?