如何同时使用 supertab.vim 和 snipMate.vim?

分享于 

2分钟阅读

电脑

 

当我试图强制加载 snipMate.vim 时,出现以下错误:


Error detected while processing/home/sa125/.vim/plugin/snipMate.vim:


line 15:


E122: Function <SNR>18_RemoveSnippet already exists, add! to replace it


line 73:


E122: Function snipMate#expandSnip already exists, add! to replace it


line 112:


E122: Function <SNR>18_ProcessSnippet already exists, add! to replace it


line 123:


E122: Function <SNR>18_Count already exists, add! to replace it


line 169:


E122: Function <SNR>18_BuildTabStops already exists, add! to replace it


line 211:


E122: Function snipMate#jumpTabStop already exists, add! to replace it


line 258:


E122: Function <SNR>18_UpdatePlaceholderTabStops already exists, add! to replace it


line 302:


E122: Function <SNR>18_UpdateTabStops already exists, add! to replace it


line 321:


E122: Function <SNR>18_SelectWord already exists, add! to replace it


line 385:


E122: Function <SNR>18_UpdateChangedSnip already exists, add! to replace it


line 434:


E122: Function <SNR>18_UpdateVars already exists, add! to replace it 





.vimrc 中唯一相关的行是:


let g:SuperTabDefaultCompletionType ="context"





SUP  VIM  Super  SNI  Snipmate  supertab