$VIMRUNTIME/ftplugin/中的一些脚本(例如python.vim和ada.vim)没有定义b:undo_ftplugin。cpo选项默认值为aABceFs。是否每个ftplugin/name.vim都需要定义b:undo_ftplugin
" Vim support file tob:undo_ftplugin
如果我打开一个c文件,而我的缓冲区使用的是"c.vim" ftplugin,那么打开/编辑/源代码我的.vimrc,就会失去"c.vim" ftplugin的功能。,什么是自动重新加载ftplugin的最好方法?After pressing return it is obvious the ftplugin for this filetype is not active.