Skip to content

Support stylua_syntax and stylua_block_newline_gaps in editorconfig #1081

Merged
JohnnyMorganz merged 3 commits intomainfrom
feature/editorconfig
Mar 7, 2026
Merged

Support stylua_syntax and stylua_block_newline_gaps in editorconfig #1081
JohnnyMorganz merged 3 commits intomainfrom
feature/editorconfig

Conversation

@JohnnyMorganz
Copy link
Owner

Add the two missing config properties to editorconfig support using the stylua_ prefix

Also fix --preserve-block-newline-gaps CLI flag not being applied as a config override.

Closes #1054

Add tests verifying editorconfig directory search behaviour:
- child without root=true merges with parent config
- root=true stops upward search
- closer config takes precedence on conflicts
- configs merge across three directory levels

Related to #1067
Add the two missing config properties to editorconfig support using the
stylua_ prefix as recommended for new properties (#1054).

Also fix --preserve-block-newline-gaps CLI flag not being applied as a
config override.
…eature/editorconfig

# Conflicts:
#	CHANGELOG.md
@JohnnyMorganz JohnnyMorganz merged commit e33575e into main Mar 7, 2026
21 checks passed
@JohnnyMorganz JohnnyMorganz deleted the feature/editorconfig branch March 7, 2026 12:14
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.

feat(editorconfig): support EditorConfig for all configuration

1 participant