@Override
  public @Nullable PsiElement adjustElementToCopy(@NotNull PsiElement element) {
    return element instanceof LeafPsiElement ? PsiTreeUtil.getParentOfType(element, YAMLPsiElement.class) : null;
  }
@Override
  public @Nullable PsiElement adjustElementToCopy(@NotNull PsiElement element)