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

Fix overriding the default filetype detection #206

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

a5ob7r
Copy link
Contributor

@a5ob7r a5ob7r commented Jan 20, 2023

Vim recognizes the filetype of .editorconfig as editorconfig, not dosini, by default since patch-9.0.1167. It's a superset of the dosini syntax. However editorconfig.vim always overrides it with dosini. To fix this, set the filetype only if Vim hasn't set it yet.

Vim recognizes the filetype of .editorconfig as editorconfig, not
dosini, by default since patch-9.0.1167. It's a superset of the dosini
syntax. However editorconfig.vim always overrides it with dosini. To fix
this, set the filetype only if Vim hasn't set it yet.
Copy link
Member

@xuhdev xuhdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@xuhdev xuhdev merged commit 39bd110 into editorconfig:master Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants