On 2010-05-04, rudy_b wrote:
> Hi, 
> I have included the autocmd (listed below) in my .vimrc file.
>  au BufReadPost * if &readonly | set nomodifiable

I haven't tried your command, but you're missing an endif.  It
should be

    au BufReadPost * if &readonly | set nomodifiable | endif

HTH,
Gary

-- 
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

Reply via email to