On 23/01/08 17:11 -0500, Charles E Campbell Jr wrote:
>Hello!
>
>Vim is often quite forgiving of user blunders.  However, for plugin 
>development, I'd rather it be more strict.  I have a tendency of trying 
>bufnr("."), for example, when I should use bufnr("%").  The strange 

Same here, I think this tendency comes from the line("."). :)

>thing is is that it seems to work on occasion (but erratically).  I've 
>found other bugs in the past that vim glides over, but that makes it 
>difficult to find them.
>
>How about an  errorstop  option:
>
>'errorstop'  'es'   boolean (default: off)
>                    local to window
>                    {not in Vi}

What about erroract option:
'erroract'  'eac'   string (default: "continue"). 
                        or "prompt", "terminate"

>
>    This option makes Vim strict with respect to any errors, warnings, 
>etc., when running a script.
>    Vim will immediately terminate the script with E???.
>


-- 
Dasn


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui