I have a target in my Makefile
that is as follows:
vim: .vim .vimrc .gvimrc
$(foreach df, $^, ln -s $(CURDIR)/$(df) ~; )
I also have modelines enabled in vim. This means whenever I open the file in vim I get the following error:
Error detected while processing modelines:
line 5:
E518: Unknown option: .vim
E518: Unknown option: .vim
This is because vim is interpreting the make target as a modeline. Is there a way to get vim to not interpret this target as a modeline?