From the Vim event documentation:
Vim recognizes the following events. Vim ignores the case of event names (e.g., you can use "BUFread" or "bufread" instead of "BufRead").
So in my custom_filetype.vim, I use au filetype to run a command when FileType events occur. It worked fine for me until I updated my vim to a newer patch level:
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 19 2015 14:09:11)
Included patches: 1-922
Compiled by cuonglm@debian
Now vim will raise an error with au filetype:
$ vim
line 93:
E216: No such event: jinja :call Jinja_config()
Press ENTER or type command to continue
Changing any letter in filetype to uppercase, like Filetype, fileType or even fIletype worked.
I went through git log but can not find any issues.
Is this change intentional or do I have any mis-configuration?
au filetype * set bg=darkin.vimrc, it worked fine. Any suggestion to trace this problem? – cuonglm Nov 27 '15 at 04:11vimhandle the event name and the augroup name? In user perspective, I think it's common to a user set an augroup name duplicated with vim builtin event name like this issue. I find information in the doc but got no luck. – cuonglm Dec 04 '15 at 07:22