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
Let hooks know which config file every property from #170
Comments
We can report that information, but it would be a big change. Also, the paths would not take symlinks into account because of Vim limitations. What are you using the property for? Maybe there is a different way to solve your problem. An EditorConfig plug-in hook is not always the best choice. |
I want to implement the
Because some modules can be reused in difference project, placed into difference directory, it's better to config |
I want to implement
c_include_path
property from my hook. Since I don't know the exactly directory everybody checkouts the project, so the path in.editorconfig
can only be relative paths. And since editorconfig may be nested, the relative path should be relative to the exactily.editorconfig
file which defines the property.By now, we can only get property value of
c_include_path
, can translates it into absolute path. So I think it's neccesary to let the hooks know which file the property is defined.The text was updated successfully, but these errors were encountered: