codemirror-indentation-markers
codemirror-indentation-markers copied to clipboard
Option 'hideFirstIndent' does not work when active
Hey, I am using your amazing CodeMirror Extension but found a little bug.
When I set the "hideFirstIndent" property to "true", the first indentation marker is still shown if the element is 'active'. I suspect this is a bug and not a feature. If itis a feature, it would be nice to have a option like 'hideFirstIndentActive' to disable it.
Example:
My code/config:
indentationMarkers({
highlightActiveBlock: true,
hideFirstIndent: true,
markerType: "fullScope",
thickness: 1,
activeThickness: 2,
colors: {
activeLight: "#f00",
}
}),
Extra details: I use CodeMirror 6 and the XML language.
It is a minor, non-breaking bug, But I would love to see a solution!