Wednesday, October 22, 2014

FileType event not triggered for make/automake files?

I have an issue where it seems like make and automake file types don't trigger the FileType event.

I have the following line in my ~/.vimrc file:

au FileType config,vim,tex,make,sh,automake set expandtab | set shiftwidth=2 | set softtabstop=2

which correctly sets shiftwidth and softtabstop for all file types config, vim, tex and sh, but doesn't affect files of type make and automake. I don't have any other au commands addressing make and automake separately.

Can someone verify whether this works with your vim? If not, is it a known bug?

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:47)
Included patches: 1-52
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):

.vimrc file can be found online at https://gist.github.com/ShabbyX/3691170

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment