kana/vim-altr — pull request #5 by deris (2013-06-29 05:50:11+00:00)
Title: Fix no rule is matched though rule exists

Though rule exists, following message is printed
when current directory and buffer's file path are the same.

"altr: No rule is matched to the current buffer name."

This problem is caused to use bufname("%"). Because bufname() function
return 'relative path'.
So I change to use expand("%:p") instead of bufname("%").