cctree plugin

156 views
Skip to first unread message

Abbe

unread,
Oct 29, 2011, 5:28:11 AM10/29/11
to Vim-Taiwan
我用vundle 管理外掛

它路徑是~/.vim/bundle/CCTree/ftplugin/cctree.vim

我裝好CCtree, 發現沒啟動 , 我vimrc 有 filetype plugin on

後來我把ftplugin/cctree.vim 改成 plugin/cctree.vim

用查詢 :scriptnames 變成有啟動cctree.vim

後來我測試一下cctree 功能 , 但顯示 CCTree: NO database loaded

但是我有產生出 cscope.out , CCTree 是依靠cscope.out 運作

謝謝

bootleq

unread,
Oct 30, 2011, 9:07:05 AM10/30/11
to Vim-Taiwan
懷疑 ftplugin/cctree.vim 這個檔名有誤,
一般命名應該是 ftplugin/c.vim 或 ftplugin/c/cctree.vim 才會在 c 檔案生效。
Reply all
Reply to author
Forward
0 new messages