Hi,
Yes, I tryed this in my Ubuntu machine and had no such problem. I found a workaround if I have the following lines in the beggining of my _vimrc, it will reset all options and I will see no problem.
" Clean everything beforehand so we can start as fresh as possible
" 1) Reset all options to default
set all&
Concerning your question, yes it also shows the problem. I believe there is some option that I'm setting in the _vimrc that is breaking the interpretation of the *prg options when escaped sequences appear. It's strange that the option that get set in the case of error is only parsed until the escaped space character.
Maybe Bram can be of some help. There maybe some option precondition that I'm at least am not aware of (related to enconding perhaps).
Regards,
Pedro
On Fri, Feb 11, 2011 at 9:40 AM, Ben Schmidt <mail_ben_schmidt@yahoo.com.au> wrote:
Yes, I tryed this in my Ubuntu machine and had no such problem. I found a workaround if I have the following lines in the beggining of my _vimrc, it will reset all options and I will see no problem.
" Clean everything beforehand so we can start as fresh as possible
" 1) Reset all options to default
set all&
Concerning your question, yes it also shows the problem. I believe there is some option that I'm setting in the _vimrc that is breaking the interpretation of the *prg options when escaped sequences appear. It's strange that the option that get set in the case of error is only parsed until the escaped space character.
Maybe Bram can be of some help. There maybe some option precondition that I'm at least am not aware of (related to enconding perhaps).
Regards,
Pedro
On Fri, Feb 11, 2011 at 9:40 AM, Ben Schmidt <mail_ben_schmidt@yahoo.com.au> wrote:
This is strange. I suspect it's Windows-related, but I'm guessing.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 ?
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
--
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
No comments:
Post a Comment