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

Use ftplugin and ftdetect correctly #11

Merged
merged 1 commit into from
Mar 27, 2015
Merged

Conversation

gabebw
Copy link
Owner

@gabebw gabebw commented Mar 27, 2015

Vim sources ftdetect/*.vim for every file, because it doesn't know which one will set the filetype.

However, it only loads ftplugin/FILETYPE.vim, i.e. it only loads the single correct ftplugin file.

Vim sources `ftdetect/*.vim` for every file, because it doesn't know which one
will set the filetype.

However, it only loads `ftplugin/FILETYPE.vim`, i.e. it only loads the single
correct `ftplugin` file.
@gabebw gabebw force-pushed the gbw-use-ftplugin-and-ftdetect branch from 29927c0 to 6db412b Compare March 27, 2015 20:15
@gabebw gabebw merged commit 6db412b into master Mar 27, 2015
@gabebw gabebw deleted the gbw-use-ftplugin-and-ftdetect branch March 27, 2015 20:15
@gabebw gabebw added the Vim label Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant