private static boolean isAdjectiveToMinus(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());
  }
private static boolean isAdjectiveToMinus(ASTNode node)