On 9/21/07, Andy Wokula <[EMAIL PROTECTED]> wrote: > I don't see the need to match Vim exceptions against the full pattern. > > try > ... > catch /:E121:/ > ... > endtry > > This is easy to read and only requires that user exceptions don't use > the ":E<number>:" notation.
Which is a perfect reason for using variables. That way you don't have to worry about Vim's exception notation. If it changes, you change one function and you're done. nikolai --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
