Skip to content

[question] Setting inherit = false in a formatter configuration causes conform to fail loading the formatterΒ #830

@makp

Description

@makp

My understanding is that the variable inherit as in

			formatters = {
				markdownlint = {
					inherit = false,
					...
				},
			},

is supposed to decide whether you should merge the user's custom configuration or not. However, passing inherit=false was causing issues (:ConformInfo confirmed that). I suspect it has to do with M.get_formatter_config (around line 723) in lua/conform/init.lua. Setting inherit = false return nil because there is no else statement.

Am I correct to think that inherit is the correct variable to use when customizing a particular formatter? Or is the current behavior expected?

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