@Override
    public void ensureComma(PsiElement self, PsiElement newElement) {
      if (newElement instanceof YAMLKeyValue && self instanceof YAMLKeyValue) {
        PsiElement sibling = skipSiblingsForward(self);
        if (sibling != null && sibling.getText().equals("\n")) return;
        PsiElement parent = self.getParent();
        parent.addAfter(generateSeparator(parent), self);
      }
    }
@Override
    public void ensureComma(PsiElement self, PsiElement newElement)