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
Changing settings of existing files causes some issues #177
Labels
need info
Need more information before proceeding
Comments
@fedorenchik thanks for using the plugin and reporting! I think you are saying that, in some cases, if you add a To help us understand the problem:
Much appreciated! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When working on multiple new and existing projects automatic changing of settings can get in a way.
For example, I want new projects use settings from
$HOME/.editorconfig
, and existing projects (which maybe without any local .editorconfig file) keep existing settings (specifically,fileformat
).Let's say, in
$HOME/.editorconfig
:and existing projects has dos-style line endings.
Then, automatic changing of
fileformat
has 2 problems:set ff?
would always returnunix
)set ff=dos | set ff=unix
)Maybe other settings have the same issue (such as
insert_final_newline
).Thus, I propose to not change settings of existing files (or at least don't set settings from
.editorconfig
whereroot = true
).The text was updated successfully, but these errors were encountered: