Skip to content

Fixes for meson format from stdin using editor config #14540

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bruchar1
Copy link
Member

@bruchar1 bruchar1 commented Apr 30, 2025

Fixes #14423. Fixes #14538. Fixes #14539.

  • Fix parent paths recursion
  • Add argument for source file path when reading from stdin

Fixes mesonbuild#14538.

Resolve the source file path before searching .editorconfig files,
to ensure parents up to the root directory are visited.
Fixes mesonbuild#14539.

Otherwise, .editorconfig is read from current working directory,
and there is no way to know what file name to filter to choose
the right section of editor config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant