Skip to content

Unable to override the configuration of a specific file #833

@Huliiiiii

Description

@Huliiiiii

I've tried many ways, but still can't get it to work.

# taplo.toml
[formatting]
align_entries       = true
allowed_blank_lines = 1
array_auto_collapse = false
compact_arrays      = false
crlf                = false
indent_string       = '  '
reorder_keys        = true

# [[rule]]
# exclude = [ "./helix/languages.toml" ]
# # # include = [ "**/*.toml" ]

# [rule.formatting]
# reorder_keys = true

[[rule]]
include = [ "./helix/languages.toml" ]
# keys    = [ "*" ]
formatting = { reorder_keys = false }

# [rule.formatting]
# reorder_keys = false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions