small medium large xlarge

19 Sep 2016, 19:19
Pierre Sugar (57 posts)

mpc/ftdetect/mpdv.vim is not recognized when opening Vim even though the .vimrc has the path set to set runtimepath+=~/mpc/ also files under ~/mpc/autoload/ and ~/mpc/plugin/ are recognized. After moving mpdv.vim to ~/.vim/ftdetect/ it works as expected.

Any idea why this doesn’t work as described in the book?

11 Dec 2017, 05:51
John Galambos (1 post)

This Stack Overflow answer solved this for me. Just need to move the runtimepath modification to before the “filetype on…” call in your vimrc.

You must be logged in to comment