Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] filetype.vim fails to put conf filetype detection in filetype autocmd group #52

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Create ftdetect/foo.vim in your .vim config directory.

In the file put some autocommands in a group. Finish with:
augroup END

As a result, the conf filetype detection from stock filetype.vim will not be 
placed in filetypedetect autocmd group.
Consequently, if you disable filetype detection and re-enable it:
filetype off
filetype on

The conf filetype will override all settings and each file which has a pound 
sign
starting one of the 5 first lines will be detected as conf file.

The attached patch fixes the problem.

Original issue reported on code.google.com by lech.lor...@gmail.com on 5 Feb 2012 at 1:11

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks Lech.  Fixed by patch 7.3.430.

Original comment by brammool...@gmail.com on 5 Feb 2012 at 7:01

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant