0
加載一個名爲[utl.vim][1]
的插件後,我需要獲取一些配置行。如何加載plugin後加載vimscript文件utl.vim?
的documentation說,我需要把這些配置到after-directory
:
[23] NOte that you cannot include this line in your .vimrc because it is
:source'd before utl_rc.vim (which defines g:utl_cfg_hdl_mt_generic).
So either include/change it at <url:config:#r=utl_cfg_hdl_mt_text_directory>
or include it in the after-directory, see <url:vimhelp:after-directory#5.>
我創建了一個名爲utl.vim
內~/.vim/after/
目錄下的文件。
但是這個文件不是來源。我使用:scriptnames
驗證了這一點。
如何確保Vim在加載utl.vim
插件後獲得此文件?