LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vimrc: persistent reports of errors in lines that were deleted (https://www.linuxquestions.org/questions/linux-software-2/vimrc-persistent-reports-of-errors-in-lines-that-were-deleted-942740/)

escarpe 05-01-2012 10:33 AM

vimrc: persistent reports of errors in lines that were deleted
 
I entered some commands in gvimrc tp configure something (I forget what). They only produced an error message so I deleted the commands, but the error messages still show up every time I restart gvim, and these error messages, "missing endif," refer to lines in the gvimrc file that are not only blank but beyond the end of the file. The error messages go away when I start to work, but they are an irritant. How do I get rid of them? I've looked at all the various vimrc and gvimrc files in /etc and /share and ~ and they don't have those lines either at this point.

Tinkster 05-01-2012 03:54 PM

Use strace to find out which rc file gvim is pulling.

strace -o ~/gvim.out -vFf gvim


All times are GMT -5. The time now is 07:12 PM.