fix: highlight issue between command row & opening brace

This commit is contained in:
Sen66
2026-03-05 13:52:40 +01:00
parent 0697ce4853
commit 43c3f5a842

View File

@@ -1122,7 +1122,7 @@ ComposeResult compose(const NodeTree& tree, const Provider& prov, uint64_t viewR
if (state.braceWrap) {
LineMeta braceLm;
braceLm.nodeIdx = -1;
braceLm.nodeId = kCommandRowId;
braceLm.nodeId = 0; // not associated with any node (no hover)
braceLm.depth = 0;
braceLm.lineKind = LineKind::Header;
braceLm.foldLevel = SC_FOLDLEVELBASE;