Error Detected While Processing Modelines
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company vi error detected while processing modelines Business Learn more about hiring developers or posting ads with us Stack Overflow Questions
Vim Error Detected While Processing Modelines
Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million error detected while processing function indentguidesenable programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to prevent vim from interpreting a Makefile target as a modeline? up vote 0 down vote favorite I have a error detected while processing function youcompleteme#enable line 13 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
Error Detected While Processing Function Vundle#installer
vim to not interpret this target as a modeline? vim modeline share|improve this question asked Jul 29 '13 at 22:37 Zameer Manji 1,50631938 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted By default modelines are only read in the top five lines or bottom five lines of the file. If you can rearrange your Makefile this would probably be the best solution. If this is not an option you can change do add the following to your vimrc. autocmd FileType make set modelines=0 To turn modelines off. If you change 0 to a different number, this will change the number of lines that are checked at the top and bottom of the files. Lastly you can just change the target name since it seems to be arbitrary. share|improve this answer answered Jul 29 '13 at 23:48 FDinoff 21.4k53054 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged vim modeline or ask your own question. a
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
Sign in Pricing Blog Support Search GitHub This repository Watch 12 Star 461 Fork 11 reedes/vim-pencil Code Issues 18 Pull requests 1 Projects 0 Pulse Graphs New issue Error on malformed error detected modelines #14 Open reedes opened this Issue Sep 2, 2014 · 0 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant Owner reedes error detected while commented Sep 2, 2014 Given: "50k/4.md" 26L, 641C Error detected while processing modelines: line 26: E518: Unknown option: --> Press ENTER or type command to continue Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.