boolean (ASTNode node) { ASTNode prevLeaf = TreeUtil.prevLeaf(node); // we don't consider`-` before template as a seq marker if there is no space before it, because it could be a `-1` value for instance return prevLeaf != null && YAMLTokenTypes.SEQUENCE_MARKER.equals(prevLeaf.getElementType()); }