On 10/02/11 4:50 AM, Azynheira wrote:
Hello All, If I have the following statements in my _vimrc: set makeprg=nmake\ -n set formatprg=par\ -w78j set grepprg=grep\ -nH(G)vim loads properly, but if I have the following to make _vimrc reload on changes: autocmd BufWritePost _vimrc source d:\vim\_vimrc And I provoke an update of the _vimrc file via ':w" for example, all the above stated set lines fail with the following errors respectively: Unknown option: ' -n' Unknown option: ' -w78j' Unknown option: ' -nH' What seems to be the problem ?
This is strange. I suspect it's Windows-related, but I'm guessing. What happens if you issue :source d:\vim\_vimrc on the commandline rather than in the autocommand? Do you get errors in that case? Ben. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
