thoughtstream/Damian-Conway-s-Vim-Setup — pull request #5 by rjbs (2014-07-29 12:30:07+00:00)
Title: apply to all ft=perl buffers, not only filename matches

fixes #2

This patch will set up a FileType event to set up buffer-local autocommands. This means that the variable tracking should work in all perl-type buffers, not just ones with the filenames you had listed. (I've tested this, but not tortured it.)