I need to mapping some action only for the feature file (which end with .feature)
I've tried autocmd FileType feature nnoremap ....
in the vimrc, but it won't work when I editing the feature file meanwhile I did the same action for tex file by autocmd FileType tex nnoremap ....
and everything is fine there. What's the issue out here? Vim has no idea what feature file is?
:help new-filetype
, related articles in filetype.txt and:help 43.2
.