small medium large xlarge

Generic-user-small
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?

Generic-user-small
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