diffr-core 0.1.13

The diffr engine: parsing, structural diffing, configuration and the plugin cursor.
name = "test-bodies"
title = "Test bodies"
description = "Collapse test bodies and test modules on both sides, so a diff reads as the code under test first."

[enabled]
title = "Collapse test bodies"
description = "Collapse the bodies of test functions and test modules, header visible."

[options.min_lines]
type = "integer"
minimum = 0
title = "Shortest test body to collapse (lines)"
description = "Test bodies shorter than this stay open: a one-line assertion is cheaper to read than a fold row."
default = 3

# The fold queries for each language, as files in this folder.
[queries]
rust = "queries/rust.scm"
python = "queries/python.scm"
go = "queries/go.scm"
javascript = "queries/javascript.scm"
javascriptjsx = "queries/javascript.scm"
typescript = "queries/javascript.scm"
typescripttsx = "queries/javascript.scm"