"Yakov Lerner" <[EMAIL PROTECTED]> writes: > 1. create this dir > $ mkdir -p ~/.vim/after/plugin > (Your &runtimepath is supposed to have ~/.vim/after as a last > component: :echo &runtimepath ) > > 2. create the file ~/.vim/after/plugin/zzz.vim > containing this line: > source $HOME/.vimrc > > 3. Check that this file is auto-read, and is last in > the startup sequence: > $ vim > :scriptnames >
Nice try Yakov... Good plan but it doesn't correct whatever is wrong here. :echo &runtimepath Does show the new one being last but then: :scriptnames shows one more file being read after zzz.vim: 1: /home/reader/.vimrc 2: /usr/local/share/vim/vim70/colors/peachpuff.vim 3: /usr/local/share/vim/vim70/syntax/syntax.vim 4: /usr/local/share/vim/vim70/syntax/synload.vim 5: /usr/local/share/vim/vim70/syntax/syncolor.vim 6: /usr/local/share/vim/vim70/filetype.vim 7: /usr/local/share/vim/vim70/plugin/getscript.vim 8: /usr/local/share/vim/vim70/plugin/gzip.vim 9: /usr/local/share/vim/vim70/plugin/matchparen.vim 10: /usr/local/share/vim/vim70/plugin/netrwPlugin.vim 11: /usr/local/share/vim/vim70/plugin/rrhelper.vim 12: /usr/local/share/vim/vim70/plugin/spellfile.vim 13: /usr/local/share/vim/vim70/plugin/tarPlugin.vim 14: /usr/local/share/vim/vim70/plugin/tohtml.vim 15: /usr/local/share/vim/vim70/plugin/vimballPlugin.vim 16: /usr/local/share/vim/vim70/plugin/zipPlugin.vim 17: /home/reader/.vim/after/plugin/zzz.vim 18: /usr/local/share/vim/vim70/syntax/nosyntax.vim But apparently number 18 is not the culprit since I renamed it and vim complains about not being able to read it but still comes up with that dreaded purple modeline I guess I could try renaming them one by one.. I did try the most likely candidates by first renaming: /usr/local/share/vim/vim70/colors/peachpuff.vim And finally the whole syntax directory mv /usr/local/share/vim/vim70/syntax \ /usr/local/share/vim/vim70/syntaxX Of course vim complains but still comes up with the purple modeline. So its pretty clear that something inside vimrc itself is the culprit.
