{
  "context-menu": {
    ".tab:not(.pinned)": [{
      "label": "Pin tab",
      "command": "pinned-tabs:pin-selected"
    }],
    ".tab.pinned": [{
      "label": "Unpin tab",
      "command": "pinned-tabs:pin-selected"
    }],
    "body.close-unpinned .tab": [{
      "label": "Close Unpinned Tabs",
      "command": "pinned-tabs:close-unpinned"
    }]
  }
}

{
  "context-menu": {
    ".tab:not(.pinned):not([data-type=\"TreeView\"]):not([data-type=\"Object\"])": [{
      "label": "Pin tab",
      "command": "pinned-tabs:pin-selected"
    }],
    ".tab.pinned": [{
      "label": "Unpin tab",
      "command": "pinned-tabs:pin-selected"
    }],
    "body.close-unpinned .tab:not([data-type=\"TreeView\"]):not([data-type=\"Object\"])": [{
      "label": "Close Unpinned Tabs",
      "command": "pinned-tabs:close-unpinned"
    }]
  }
}

Remove context-menu options from TreeView and GitView tabs
Remove context-menu options from TreeView and GitView tabs

As the TreeView and GitView both use a ".tab-bar" with ".tab"s as well,
the context-menu options from this package would also appear in their
context-menu. This is now solved by excluding tabs with certain
"data-type"s set on the HTML element.
