> bufnr("."), for example, when I should use bufnr("%")
For the moment, you could define some syntax in after/syntax/vim.vim
that highlights common mistakes. E.g.:
syn match VimWarningBufNr /^.\{-}bufnr('\.')/
hi def link VimWarningBufNr Error
Thomas.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
