autocmd if ftplugin loaded
change to buffer local autocmd
if you outside the area, die!
refactoring: extract function